summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJonas Ã…dahl <jadahl@gmail.com>2020-11-19 14:47:12 +0100
committerMarge Bot <marge-bot@gnome.org>2020-11-20 17:44:59 +0000
commitefbb798309d1cf3005fc742b5a8765f48ce367e9 (patch)
tree6b2af45c9b9c3d3c44757a1e55606cd0ebc55217 /.gitlab-ci.yml
parenta793b4eef58842173c15d3c9ad1c32f00e3fb0cb (diff)
downloadmutter-efbb798309d1cf3005fc742b5a8765f48ce367e9.tar.gz
ci: Use non-string like list for "need" relationships
Looks more natural, since it refers to another entity, not an arbitrary string. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1586>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml21
1 files changed, 14 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e8fc157e6..2fc14bd2b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,7 +69,8 @@ check-commit-log:
- .fdo.distribution-image@fedora
- .mutter.fedora:33
stage: review
- needs: ["build-fedora-container"]
+ needs:
+ - build-fedora-container
variables:
GIT_DEPTH: "100"
script:
@@ -86,7 +87,8 @@ build-mutter:
- .fdo.distribution-image@fedora
- .mutter.fedora:33
stage: build
- needs: ["check-commit-log"]
+ needs:
+ - check-commit-log
script:
- meson . build -Dbuildtype=debugoptimized -Db_coverage=true -Degl_device=true -Dwayland_eglstream=true --werror --prefix /usr
- ninja -C build
@@ -101,7 +103,8 @@ build-without-opengl-and-glx:
- .fdo.distribution-image@fedora
- .mutter.fedora:33
stage: build
- needs: ["check-commit-log"]
+ needs:
+ - check-commit-log
script:
- meson . build -Dbuildtype=debugoptimized -Dopengl=false -Dglx=false -Degl_device=true -Dwayland_eglstream=true --werror --prefix /usr
- ninja -C build
@@ -115,7 +118,8 @@ build-without-native-backend-and-wayland:
- .fdo.distribution-image@fedora
- .mutter.fedora:33
stage: build
- needs: ["check-commit-log"]
+ needs:
+ - check-commit-log
script:
- meson . build -Dbuildtype=debugoptimized -Dnative_backend=false -Dudev=false -Dwayland=false -Dcore_tests=false --werror --prefix /usr
- ninja -C build
@@ -131,7 +135,8 @@ test-mutter:
stage: test
dependencies:
- build-mutter
- needs: ["build-mutter"]
+ needs:
+ - build-mutter
variables:
XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
GSETTINGS_SCHEMA_DIR: "$CI_PROJECT_DIR/build/data"
@@ -156,7 +161,8 @@ test-mutter-coverage:
stage: coverage
dependencies:
- test-mutter
- needs: ["test-mutter"]
+ needs:
+ - test-mutter
script:
- ninja -C build coverage
- cat build/meson-logs/coverage.txt
@@ -172,7 +178,8 @@ can-build-gnome-shell:
stage: test
dependencies:
- build-mutter
- needs: ["build-mutter"]
+ needs:
+ - build-mutter
before_script:
- meson install --no-rebuild -C build
script: