summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-11-14 18:24:14 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-11-14 18:31:07 +0100
commitfde50458dd9e7ea209d486ae315799eb9dc4ec36 (patch)
tree3305bb1ae396fd08d756b17c8afde04a9b95abf3 /.gitlab-ci.yml
parent441926c7d5da515c865a3bc4a3d1d996a6b64b67 (diff)
downloadgobject-introspection-fde50458dd9e7ea209d486ae315799eb9dc4ec36.tar.gz
CI: add a job that builds glib as a subproject
In our case we have to do various special things in case glib isn't available through pkg-config and not all tests are run. Add a CI job that tests this case so we don't regress.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9e62b41a..16a8f3bb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,6 +35,26 @@ fedora-x86_64-meson:
- "${CI_PROJECT_DIR}/_build/meson-logs"
- public
+fedora-x86_64-subprojects:
+ image: registry.gitlab.gnome.org/gnome/gobject-introspection:min-v1
+ stage: build
+ variables:
+ CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
+ CCACHE_DIR: "${CI_PROJECT_DIR}/_ccache"
+ script:
+ - meson _build .
+ - cd _build
+ - ninja
+ - meson test --print-errorlogs --suite=gobject-introspection
+ except:
+ - tags
+ artifacts:
+ when: always
+ name: "gi-_${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
+ - public
+
fedora-x86_64-python3.5:
stage: build
variables: