summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2018-09-19 19:46:25 +0100
committerWill Thompson <will@willthompson.co.uk>2018-09-19 20:40:28 +0100
commit6bbcc295bd4b08efb436a2db2b8c712ff9610fe9 (patch)
treecfbc848c32e992d6349b509cc402371ca3f394ee /.gitlab-ci.yml
parent539bcc128bc8a60affa00cca009561790506622a (diff)
downloadd-feet-6bbcc295bd4b08efb436a2db2b8c712ff9610fe9.tar.gz
ci: correctly build to use python3
For a "normal" build running flatpak-builder to completion, the 'build-options: env: PYTHON: /usr/bin/python3' specified at the top level of org.gnome.dfeet.json takes effect. However, the .gitlab-ci.yml (lifted from other projects) uses --stop-at to build everything except d-feet with flatpak-builder, then runs the steps to build d-feet by hand. The PYTHON environment variable does not persist from the earlier steps.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a9b8daf..d746aa7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,7 +30,7 @@ flatpak:
MANIFEST_PATH: "org.gnome.dfeet.json"
RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo"
FLATPAK_MODULE: "d-feet"
- CONFIGURE_ARGS: "--disable-tests"
+ CONFIGURE_ARGS: "PYTHON=/usr/bin/python3 --disable-tests"
DBUS_ID: "org.gnome.dfeet"
script: