From 68241254123d401c31d8d0a6a8fd29661eba0e2f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 28 Nov 2019 07:52:21 +1000 Subject: [PATCH] gitlab CI: use multiple extends for the default artifact/build snippets Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce9435fb..d68c7219 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -112,7 +112,7 @@ variables: # cancel run when a newer version is pushed to the branch interruptible: true -.default_artifacts: &default_artifacts +.default_artifacts: artifacts: name: "meson-logs-$CI_JOB_NAME" when: always @@ -121,7 +121,7 @@ variables: - $MESON_BUILDDIR/meson-logs # The default build instructions -.default_build: &default_build +.default_build: script: - rm -rf "$MESON_BUILDDIR" - meson "$MESON_BUILDDIR" $MESON_ARGS @@ -433,9 +433,9 @@ freebsd:11.2@container-clean: .build@template: extends: - .policy + - .default_artifacts + - .default_build stage: build - <<: *default_artifacts - <<: *default_build dependencies: [] #