mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-04 17:50:15 +01:00
gitlab CI: use multiple extends for the default artifact/build snippets
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
caa3ea7801
commit
6824125412
1 changed files with 4 additions and 4 deletions
|
|
@ -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: []
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue