Compare commits

...

3 Commits

Author SHA1 Message Date
Emmanuele Bassi
0f619235e5 ci: Add a job testing all subprojects
Force Meson to build all subprojects for which we have a wrap fallback.
Since doing CI for bleeding edge versions of everything is more likely
to fail than not, we should not use it as a blocker.
2019-11-05 11:52:35 +00:00
Emmanuele Bassi
0061c593cb ci: Define WRAP_MODE for the default job
In case the script gets changed, better be explicit in the environment
set up.
2019-11-05 11:40:45 +00:00
Emmanuele Bassi
f8e52366ae ci: Allow specifying the wrap mode
We want to control the wrap mode argument for meson from within the
CI environment; we can use an environment variable, and ensure that we
have a fallback value in case it's unset.
2019-11-05 11:32:45 +00:00
2 changed files with 28 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ stages:
fedora-x86_64:
image: registry.gitlab.gnome.org/gnome/gtk/master:v7
stage: build
variables:
WRAP_MODE: default
script:
- bash -x ./.gitlab-ci/test-docker.sh
artifacts:
@@ -33,6 +35,31 @@ fedora-x86_64:
key: "$CI_JOB_NAME"
<<: *cache-paths
all-dependencies:
image: registry.gitlab.gnome.org/gnome/gtk/master:v7
stage: build
variables:
WRAP_MODE: forcefallback
script:
- meson wrap promote subprojects/glib/subprojects/libffi.wrap
- bash -x ./.gitlab-ci/test-docker.sh
allow_failure: true
artifacts:
when: always
reports:
junit:
- "${CI_PROJECT_DIR}/_build/report.xml"
name: "gtk-all-deps-${CI_COMMIT_REF_NAME}"
paths:
- "${CI_PROJECT_DIR}/_build/meson-list"
- "${CI_PROJECT_DIR}/_build/report.xml"
- "${CI_PROJECT_DIR}/_build/report.html"
- "${CI_PROJECT_DIR}/_build/testsuite/reftests/output/*.png"
- "${CI_PROJECT_DIR}/_build/testsuite/gsk/compare/*/*.png"
cache:
key: "$CI_JOB_NAME"
<<: *cache-paths
.mingw-defaults: &mingw-defaults
stage: build
tags:

View File

@@ -17,6 +17,7 @@ meson \
-Dbroadway-backend=true \
-Dvulkan=yes \
--werror \
--wrap-mode=${WRAP_MODE:-default} \
_build $srcdir
unset CCACHE_DISABLE