summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-07-22 13:58:19 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-07-22 13:58:19 +0200
commit8c0f53a1e28d6d8099d2faaa1f440fee06782d27 (patch)
tree287b63d5307507905ef8daedd56fb329ae3c59f2 /.gitlab-ci.yml
parentdee88f3188ca7d2984e8f7e501a90ca8238cb1aa (diff)
downloadgobject-introspection-8c0f53a1e28d6d8099d2faaa1f440fee06782d27.tar.gz
ci: add a python 2 job using autotools
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71623510..b1b0c3cf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,6 +43,22 @@ fedora-x86_64-meson-python2:
paths:
- "${CI_PROJECT_DIR}/_build/meson-logs"
+fedora-x86_64-autotools-python2:
+ stage: build
+ variables:
+ CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
+ CCACHE_DIR: "${CI_PROJECT_DIR}/_ccache"
+ script:
+ - sed -i 's|\[glib-2\.0 >= [0-9.]*\]|[glib-2.0 >= 1.0]|' configure.ac
+ - ./autogen.sh --with-python=python2
+ - make -j4
+ - make check
+ artifacts:
+ when: on_failure
+ name: "gi-_${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
+
fedora-x86_64-autotools-python3:
stage: build
variables: