[glib/wip/pwithnall/ci-cleanups: 5/7] ci: Split .only-default out of .build-linux
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pwithnall/ci-cleanups: 5/7] ci: Split .only-default out of .build-linux
- Date: Sun, 20 Feb 2022 12:50:48 +0000 (UTC)
commit 0a14b091e0a858e888746fc3df9354e832cbb853
Author: Philip Withnall <pwithnall endlessos org>
Date: Sun Feb 20 12:36:40 2022 +0000
ci: Split .only-default out of .build-linux
As with a previous commit, `.only-default` does things which are
orthogonal to what `.build-linux` does, so it’s clearer and more
extensible for CI jobs to specify both in their top-level `extends`
statements, rather than relying on `.build-linux` to pull
`.only-default` in.
This introduces no functional changes.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
.gitlab-ci.yml | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bb6077074..dba20f416 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,7 +36,6 @@ variables:
- tags
.build-linux:
- extends: .only-default
before_script:
- bash .gitlab-ci/show-execution-environment.sh
- cp -r $HOME/subprojects/* subprojects/
@@ -61,7 +60,9 @@ check-todos:
- .gitlab-ci/run-check-todos.sh
fedora-x86_64:
- extends: .build-linux
+ extends:
+ - .build-linux
+ - .only-default
image: $FEDORA_IMAGE
stage: build
needs: []
@@ -110,7 +111,9 @@ fedora-x86_64:
- "_coverage"
debian-stable-x86_64:
- extends: .build-linux
+ extends:
+ - .build-linux
+ - .only-default
image: $DEBIAN_IMAGE
stage: build
needs: []
@@ -253,7 +256,9 @@ valgrind:
- "_build/meson-logs"
cross-android_api21_arm64:
- extends: .cross-build-linux
+ extends:
+ - .cross-build-linux
+ - .only-default
image: $ANDROID_IMAGE
script:
# FIXME: add --werror
@@ -263,7 +268,9 @@ cross-android_api21_arm64:
- ninja -C _build
cross-android_api28_arm64:
- extends: .cross-build-linux
+ extends:
+ - .cross-build-linux
+ - .only-default
image: $ANDROID_IMAGE
script:
# FIXME: add --werror
@@ -271,7 +278,9 @@ cross-android_api28_arm64:
- ninja -C _build
cross-mingw64:
- extends: .cross-build-linux
+ extends:
+ - .cross-build-linux
+ - .only-default
image: $MINGW_IMAGE
script:
# FIXME: Add --werror
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]