mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-07 13:08:04 +02:00
GitLab CI: use extends to simplify declaration of jobs
The build stage gets simpler: - we define one high level build job - for each type of distro, we subclass the high-level job with the distribution image - then we subclass the previous jobs into specific release versions or specific items to check Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
parent
f92a8a7ec1
commit
c104f4fb28
1 changed files with 63 additions and 100 deletions
163
.gitlab-ci.yml
163
.gitlab-ci.yml
|
|
@ -123,7 +123,7 @@ bootstrap:
|
||||||
# #
|
# #
|
||||||
#################################################################
|
#################################################################
|
||||||
|
|
||||||
.container-check: &container_check
|
.container-check:
|
||||||
stage: container_check
|
stage: container_check
|
||||||
image: $CI_REGISTRY/$PROJECT_NAMESPACE/$CI_PROJECT_NAME/containers:latest
|
image: $CI_REGISTRY/$PROJECT_NAMESPACE/$CI_PROJECT_NAME/containers:latest
|
||||||
script:
|
script:
|
||||||
|
|
@ -155,44 +155,44 @@ bootstrap:
|
||||||
# TODO: check that the RPMS/DEBS are all in the current images
|
# TODO: check that the RPMS/DEBS are all in the current images
|
||||||
|
|
||||||
fedora:28@container-check:
|
fedora:28@container-check:
|
||||||
|
extends: .container-check
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
FEDORA_VERSION: 28
|
FEDORA_VERSION: 28
|
||||||
CURRENT_CONTAINER_IMAGE: $FEDORA_CONTAINER_IMAGE:latest
|
CURRENT_CONTAINER_IMAGE: $FEDORA_CONTAINER_IMAGE:latest
|
||||||
<<: *container_check
|
|
||||||
|
|
||||||
fedora:29@container-check:
|
fedora:29@container-check:
|
||||||
|
extends: .container-check
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
CURRENT_CONTAINER_IMAGE: $FEDORA_CONTAINER_IMAGE:latest
|
CURRENT_CONTAINER_IMAGE: $FEDORA_CONTAINER_IMAGE:latest
|
||||||
<<: *container_check
|
|
||||||
|
|
||||||
ubuntu:17.10@container-check:
|
ubuntu:17.10@container-check:
|
||||||
|
extends: .container-check
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
UBUNTU_VERSION: "17.10"
|
UBUNTU_VERSION: "17.10"
|
||||||
CURRENT_CONTAINER_IMAGE: $UBUNTU_CONTAINER_IMAGE:latest
|
CURRENT_CONTAINER_IMAGE: $UBUNTU_CONTAINER_IMAGE:latest
|
||||||
<<: *container_check
|
|
||||||
|
|
||||||
ubuntu:18.04@container-check:
|
ubuntu:18.04@container-check:
|
||||||
|
extends: .container-check
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
UBUNTU_VERSION: "18.04"
|
UBUNTU_VERSION: "18.04"
|
||||||
CURRENT_CONTAINER_IMAGE: $UBUNTU_CONTAINER_IMAGE:latest
|
CURRENT_CONTAINER_IMAGE: $UBUNTU_CONTAINER_IMAGE:latest
|
||||||
<<: *container_check
|
|
||||||
|
|
||||||
arch:rolling@container-check:
|
arch:rolling@container-check:
|
||||||
|
extends: .container-check
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
CURRENT_CONTAINER_IMAGE: $ARCH_CONTAINER_IMAGE:latest
|
CURRENT_CONTAINER_IMAGE: $ARCH_CONTAINER_IMAGE:latest
|
||||||
<<: *container_check
|
|
||||||
|
|
||||||
freebsd:11.2@container-check:
|
freebsd:11.2@container-check:
|
||||||
|
extends: .container-check
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
CURRENT_CONTAINER_IMAGE: $FREEBSD_CONTAINER_IMAGE:latest
|
CURRENT_CONTAINER_IMAGE: $FREEBSD_CONTAINER_IMAGE:latest
|
||||||
<<: *container_check
|
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# #
|
# #
|
||||||
|
|
@ -217,7 +217,7 @@ freebsd:11.2@container-check:
|
||||||
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
<<: *restrict_container_creation
|
<<: *restrict_container_creation
|
||||||
|
|
||||||
.fedora@container-prep: &fedora_container_prep
|
.fedora@container-prep:
|
||||||
extends: .container-prep
|
extends: .container-prep
|
||||||
script:
|
script:
|
||||||
- buildcntr=$(buildah from --quiet fedora:$FEDORA_VERSION)
|
- buildcntr=$(buildah from --quiet fedora:$FEDORA_VERSION)
|
||||||
|
|
@ -235,24 +235,24 @@ freebsd:11.2@container-check:
|
||||||
- skopeo copy docker://$FEDORA_CONTAINER_IMAGE:latest docker://$FEDORA_CONTAINER_IMAGE:$CI_JOB_ID
|
- skopeo copy docker://$FEDORA_CONTAINER_IMAGE:latest docker://$FEDORA_CONTAINER_IMAGE:$CI_JOB_ID
|
||||||
|
|
||||||
fedora:28@container-prep:
|
fedora:28@container-prep:
|
||||||
|
extends: .fedora@container-prep
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
FEDORA_VERSION: 28
|
FEDORA_VERSION: 28
|
||||||
<<: *fedora_container_prep
|
|
||||||
dependencies:
|
dependencies:
|
||||||
# Note: we can not use $FEDORA_VERSION here
|
# Note: we can not use $FEDORA_VERSION here
|
||||||
- fedora:28@container-check
|
- fedora:28@container-check
|
||||||
|
|
||||||
fedora:29@container-prep:
|
fedora:29@container-prep:
|
||||||
|
extends: .fedora@container-prep
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
<<: *fedora_container_prep
|
|
||||||
dependencies:
|
dependencies:
|
||||||
# Note: we can not use $FEDORA_VERSION here
|
# Note: we can not use $FEDORA_VERSION here
|
||||||
- fedora:29@container-check
|
- fedora:29@container-check
|
||||||
|
|
||||||
.ubuntu@container-prep: &ubuntu_container_prep
|
.ubuntu@container-prep:
|
||||||
extends: .container-prep
|
extends: .container-prep
|
||||||
script:
|
script:
|
||||||
- buildcntr=$(buildah from --quiet ubuntu:$UBUNTU_VERSION)
|
- buildcntr=$(buildah from --quiet ubuntu:$UBUNTU_VERSION)
|
||||||
|
|
@ -277,21 +277,20 @@ ubuntu:17.10@container-prep:
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
UBUNTU_VERSION: "17.10"
|
UBUNTU_VERSION: "17.10"
|
||||||
<<: *ubuntu_container_prep
|
|
||||||
dependencies:
|
dependencies:
|
||||||
# Note: we can not use $UBUNTU_VERSION here
|
# Note: we can not use $UBUNTU_VERSION here
|
||||||
- ubuntu:17.10@container-check
|
- ubuntu:17.10@container-check
|
||||||
|
|
||||||
ubuntu:18.04@container-prep:
|
ubuntu:18.04@container-prep:
|
||||||
|
extends: .ubuntu@container-prep
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
UBUNTU_VERSION: "18.04"
|
UBUNTU_VERSION: "18.04"
|
||||||
<<: *ubuntu_container_prep
|
|
||||||
dependencies:
|
dependencies:
|
||||||
# Note: we can not use $UBUNTU_VERSION here
|
# Note: we can not use $UBUNTU_VERSION here
|
||||||
- ubuntu:18.04@container-check
|
- ubuntu:18.04@container-check
|
||||||
|
|
||||||
.arch@container-prep: &arch_container_prep
|
.arch@container-prep:
|
||||||
extends: .container-prep
|
extends: .container-prep
|
||||||
script:
|
script:
|
||||||
- buildcntr=$(buildah from --quiet base/archlinux)
|
- buildcntr=$(buildah from --quiet base/archlinux)
|
||||||
|
|
@ -310,13 +309,13 @@ ubuntu:18.04@container-prep:
|
||||||
- skopeo copy docker://$ARCH_CONTAINER_IMAGE:latest docker://$ARCH_CONTAINER_IMAGE:$CI_JOB_ID
|
- skopeo copy docker://$ARCH_CONTAINER_IMAGE:latest docker://$ARCH_CONTAINER_IMAGE:$CI_JOB_ID
|
||||||
|
|
||||||
arch:rolling@container-prep:
|
arch:rolling@container-prep:
|
||||||
|
extends: .arch@container-prep
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
<<: *arch_container_prep
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- arch:rolling@container-check
|
- arch:rolling@container-check
|
||||||
|
|
||||||
.freebsd@container-prep: &freebsd_container_prep
|
.freebsd@container-prep:
|
||||||
extends: .container-prep
|
extends: .container-prep
|
||||||
script:
|
script:
|
||||||
- buildcntr=$(buildah from --quiet myfreeweb/freebsd-cross:latest)
|
- buildcntr=$(buildah from --quiet myfreeweb/freebsd-cross:latest)
|
||||||
|
|
@ -334,9 +333,9 @@ arch:rolling@container-prep:
|
||||||
- skopeo copy docker://$FREEBSD_CONTAINER_IMAGE:latest docker://$FREEBSD_CONTAINER_IMAGE:$CI_JOB_ID
|
- skopeo copy docker://$FREEBSD_CONTAINER_IMAGE:latest docker://$FREEBSD_CONTAINER_IMAGE:$CI_JOB_ID
|
||||||
|
|
||||||
freebsd:11.2@container-prep:
|
freebsd:11.2@container-prep:
|
||||||
|
extends: .freebsd@container-prep
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
<<: *freebsd_container_prep
|
|
||||||
dependencies:
|
dependencies:
|
||||||
# Note: we can not use $FREEBSD_VERSION here
|
# Note: we can not use $FREEBSD_VERSION here
|
||||||
- freebsd:11.2@container-check
|
- freebsd:11.2@container-check
|
||||||
|
|
@ -345,48 +344,32 @@ freebsd:11.2@container-prep:
|
||||||
# the list of the rpms changed
|
# the list of the rpms changed
|
||||||
|
|
||||||
fedora:28@force-container-prep:
|
fedora:28@force-container-prep:
|
||||||
variables:
|
extends: fedora:28@container-prep
|
||||||
GIT_STRATEGY: none
|
|
||||||
FEDORA_VERSION: 28
|
|
||||||
<<: *fedora_container_prep
|
|
||||||
when: manual
|
when: manual
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
fedora:29@force-container-prep:
|
fedora:29@force-container-prep:
|
||||||
variables:
|
extends: fedora:29@container-prep
|
||||||
GIT_STRATEGY: none
|
|
||||||
FEDORA_VERSION: 29
|
|
||||||
<<: *fedora_container_prep
|
|
||||||
when: manual
|
when: manual
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
ubuntu:17.10@force-container-prep:
|
ubuntu:17.10@force-container-prep:
|
||||||
variables:
|
extends: ubuntu:17.10@container-prep
|
||||||
GIT_STRATEGY: none
|
|
||||||
UBUNTU_VERSION: "17.10"
|
|
||||||
<<: *ubuntu_container_prep
|
|
||||||
when: manual
|
when: manual
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
ubuntu:18.04@force-container-prep:
|
ubuntu:18.04@force-container-prep:
|
||||||
variables:
|
extends: ubuntu:18.04@container-prep
|
||||||
GIT_STRATEGY: none
|
|
||||||
UBUNTU_VERSION: "18.04"
|
|
||||||
<<: *ubuntu_container_prep
|
|
||||||
when: manual
|
when: manual
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
arch:rolling@force-container-prep:
|
arch:rolling@force-container-prep:
|
||||||
variables:
|
extends: arch:rolling@container-prep
|
||||||
GIT_STRATEGY: none
|
|
||||||
<<: *arch_container_prep
|
|
||||||
when: manual
|
when: manual
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
freebsd:11.2@force-container-prep:
|
freebsd:11.2@force-container-prep:
|
||||||
variables:
|
extends: freebsd:11.2@container-prep
|
||||||
GIT_STRATEGY: none
|
|
||||||
<<: *freebsd_container_prep
|
|
||||||
when: manual
|
when: manual
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
|
|
@ -401,7 +384,7 @@ freebsd:11.2@force-container-prep:
|
||||||
# This stage will look for the container images we currently have in
|
# This stage will look for the container images we currently have in
|
||||||
# the registry and will remove any that are not tagged as 'latest'
|
# the registry and will remove any that are not tagged as 'latest'
|
||||||
#
|
#
|
||||||
.container-clean: &container_clean
|
.container-clean:
|
||||||
stage: container_check
|
stage: container_check
|
||||||
image: $CI_REGISTRY/$PROJECT_NAMESPACE/$CI_PROJECT_NAME/containers:latest
|
image: $CI_REGISTRY/$PROJECT_NAMESPACE/$CI_PROJECT_NAME/containers:latest
|
||||||
script:
|
script:
|
||||||
|
|
@ -459,44 +442,44 @@ bootstrap@container-clean:
|
||||||
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY/$PROJECT_NAMESPACE/$CI_PROJECT_NAME/containers
|
CURRENT_CONTAINER_IMAGE: $CI_REGISTRY/$PROJECT_NAMESPACE/$CI_PROJECT_NAME/containers
|
||||||
|
|
||||||
fedora:28@container-clean:
|
fedora:28@container-clean:
|
||||||
|
extends: .container-clean
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
FEDORA_VERSION: 28
|
FEDORA_VERSION: 28
|
||||||
CURRENT_CONTAINER_IMAGE: $FEDORA_CONTAINER_IMAGE
|
CURRENT_CONTAINER_IMAGE: $FEDORA_CONTAINER_IMAGE
|
||||||
<<: *container_clean
|
|
||||||
|
|
||||||
fedora:29@container-clean:
|
fedora:29@container-clean:
|
||||||
|
extends: .container-clean
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
CURRENT_CONTAINER_IMAGE: $FEDORA_CONTAINER_IMAGE
|
CURRENT_CONTAINER_IMAGE: $FEDORA_CONTAINER_IMAGE
|
||||||
<<: *container_clean
|
|
||||||
|
|
||||||
ubuntu:17.10@container-clean:
|
ubuntu:17.10@container-clean:
|
||||||
|
extends: .container-clean
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
UBUNTU_VERSION: "17.10"
|
UBUNTU_VERSION: "17.10"
|
||||||
CURRENT_CONTAINER_IMAGE: $UBUNTU_CONTAINER_IMAGE
|
CURRENT_CONTAINER_IMAGE: $UBUNTU_CONTAINER_IMAGE
|
||||||
<<: *container_clean
|
|
||||||
|
|
||||||
ubuntu:18.04@container-clean:
|
ubuntu:18.04@container-clean:
|
||||||
|
extends: .container-clean
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
UBUNTU_VERSION: "18.04"
|
UBUNTU_VERSION: "18.04"
|
||||||
CURRENT_CONTAINER_IMAGE: $UBUNTU_CONTAINER_IMAGE
|
CURRENT_CONTAINER_IMAGE: $UBUNTU_CONTAINER_IMAGE
|
||||||
<<: *container_clean
|
|
||||||
|
|
||||||
arch:rolling@container-clean:
|
arch:rolling@container-clean:
|
||||||
|
extends: .container-clean
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
CURRENT_CONTAINER_IMAGE: $ARCH_CONTAINER_IMAGE
|
CURRENT_CONTAINER_IMAGE: $ARCH_CONTAINER_IMAGE
|
||||||
<<: *container_clean
|
|
||||||
|
|
||||||
freebsd:11.2@container-clean:
|
freebsd:11.2@container-clean:
|
||||||
|
extends: .container-clean
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
CURRENT_CONTAINER_IMAGE: $FREEBSD_CONTAINER_IMAGE
|
CURRENT_CONTAINER_IMAGE: $FREEBSD_CONTAINER_IMAGE
|
||||||
<<: *container_clean
|
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# #
|
# #
|
||||||
|
|
@ -504,42 +487,39 @@ freebsd:11.2@container-clean:
|
||||||
# #
|
# #
|
||||||
#################################################################
|
#################################################################
|
||||||
|
|
||||||
|
.build@template:
|
||||||
|
stage: build
|
||||||
|
<<: *default_artifacts
|
||||||
|
<<: *default_build
|
||||||
|
dependencies: []
|
||||||
|
|
||||||
#
|
#
|
||||||
# Fedora
|
# Fedora
|
||||||
#
|
#
|
||||||
|
|
||||||
.fedora@template: &fedora_template
|
.fedora-build@template:
|
||||||
stage: build
|
extends: .build@template
|
||||||
image: $FEDORA_CONTAINER_IMAGE:latest
|
image: $FEDORA_CONTAINER_IMAGE:latest
|
||||||
<<: *default_artifacts
|
|
||||||
dependencies: []
|
|
||||||
|
|
||||||
fedora:28@default-build:
|
fedora:28@default-build:
|
||||||
|
extends: .fedora-build@template
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 28
|
FEDORA_VERSION: 28
|
||||||
<<: *fedora_template
|
|
||||||
<<: *default_build
|
|
||||||
|
|
||||||
.fedora:29@template: &fedora_29_template
|
|
||||||
variables:
|
|
||||||
FEDORA_VERSION: 29
|
|
||||||
<<: *fedora_template
|
|
||||||
|
|
||||||
fedora:29@default-build:
|
fedora:29@default-build:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
variables:
|
||||||
|
FEDORA_VERSION: 29
|
||||||
|
|
||||||
fedora:29@default-build-release:
|
fedora:29@default-build-release:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Dbuildtype=release"
|
MESON_ARGS: "-Dbuildtype=release"
|
||||||
CFLAGS: "-Werror"
|
CFLAGS: "-Werror"
|
||||||
|
|
||||||
fedora:29@scan-build:
|
fedora:29@scan-build:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
NINJA_ARGS: scan-build
|
NINJA_ARGS: scan-build
|
||||||
|
|
@ -556,15 +536,13 @@ fedora:29@scan-build:
|
||||||
# when they succeed on another.
|
# when they succeed on another.
|
||||||
|
|
||||||
fedora:29@build-no-libwacom:
|
fedora:29@build-no-libwacom:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Dlibwacom=false"
|
MESON_ARGS: "-Dlibwacom=false"
|
||||||
|
|
||||||
fedora:29@build-no-libwacom-nodeps:
|
fedora:29@build-no-libwacom-nodeps:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Dlibwacom=false"
|
MESON_ARGS: "-Dlibwacom=false"
|
||||||
|
|
@ -572,15 +550,13 @@ fedora:29@build-no-libwacom-nodeps:
|
||||||
- dnf remove -y libwacom libwacom-devel
|
- dnf remove -y libwacom libwacom-devel
|
||||||
|
|
||||||
fedora:29@build-no-docs:
|
fedora:29@build-no-docs:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Ddocumentation=false"
|
MESON_ARGS: "-Ddocumentation=false"
|
||||||
|
|
||||||
fedora:29@build-no-docs-nodeps:
|
fedora:29@build-no-docs-nodeps:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Ddocumentation=false"
|
MESON_ARGS: "-Ddocumentation=false"
|
||||||
|
|
@ -588,15 +564,13 @@ fedora:29@build-no-docs-nodeps:
|
||||||
- dnf remove -y doxygen graphviz
|
- dnf remove -y doxygen graphviz
|
||||||
|
|
||||||
fedora:29@build-no-debuggui:
|
fedora:29@build-no-debuggui:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Ddebug-gui=false"
|
MESON_ARGS: "-Ddebug-gui=false"
|
||||||
|
|
||||||
fedora:29@build-no-debuggui-nodeps:
|
fedora:29@build-no-debuggui-nodeps:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Ddebug-gui=false"
|
MESON_ARGS: "-Ddebug-gui=false"
|
||||||
|
|
@ -604,15 +578,13 @@ fedora:29@build-no-debuggui-nodeps:
|
||||||
- dnf remove -y gtk3-devel
|
- dnf remove -y gtk3-devel
|
||||||
|
|
||||||
fedora:29@build-no-tests:
|
fedora:29@build-no-tests:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Dtests=false"
|
MESON_ARGS: "-Dtests=false"
|
||||||
|
|
||||||
fedora:29@build-no-tests-nodeps:
|
fedora:29@build-no-tests-nodeps:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
<<: *default_build
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
MESON_ARGS: "-Dtests=false"
|
MESON_ARGS: "-Dtests=false"
|
||||||
|
|
@ -620,9 +592,10 @@ fedora:29@build-no-tests-nodeps:
|
||||||
- dnf remove -y check-devel
|
- dnf remove -y check-devel
|
||||||
|
|
||||||
fedora:29@valgrind:
|
fedora:29@valgrind:
|
||||||
<<: *fedora_29_template
|
extends: .fedora-build@template
|
||||||
variables:
|
variables:
|
||||||
FEDORA_VERSION: 29
|
FEDORA_VERSION: 29
|
||||||
|
# note: we override the default_build here by providing a new script
|
||||||
script:
|
script:
|
||||||
- rm -rf "$MESON_BUILDDIR"
|
- rm -rf "$MESON_BUILDDIR"
|
||||||
- meson "$MESON_BUILDDIR" $MESON_ARGS
|
- meson "$MESON_BUILDDIR" $MESON_ARGS
|
||||||
|
|
@ -633,53 +606,43 @@ fedora:29@valgrind:
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
#
|
#
|
||||||
|
|
||||||
.ubuntu@template: &ubuntu_template
|
.ubuntu@template:
|
||||||
stage: build
|
extends: .build@template
|
||||||
image: $UBUNTU_CONTAINER_IMAGE:latest
|
image: $UBUNTU_CONTAINER_IMAGE:latest
|
||||||
<<: *default_artifacts
|
|
||||||
dependencies: []
|
|
||||||
|
|
||||||
ubuntu:17.10@default-build:
|
ubuntu:17.10@default-build:
|
||||||
|
extends: .ubuntu@template
|
||||||
variables:
|
variables:
|
||||||
UBUNTU_VERSION: "17.10"
|
UBUNTU_VERSION: "17.10"
|
||||||
<<: *ubuntu_template
|
|
||||||
<<: *default_build
|
|
||||||
|
|
||||||
ubuntu:18.04@default-build:
|
ubuntu:18.04@default-build:
|
||||||
|
extends: .ubuntu@template
|
||||||
variables:
|
variables:
|
||||||
UBUNTU_VERSION: "17.10"
|
UBUNTU_VERSION: "17.10"
|
||||||
<<: *ubuntu_template
|
|
||||||
<<: *default_build
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Arch
|
# Arch
|
||||||
#
|
#
|
||||||
.arch@template: &arch_template
|
.arch@template:
|
||||||
stage: build
|
extends: .build@template
|
||||||
image: $ARCH_CONTAINER_IMAGE:latest
|
image: $ARCH_CONTAINER_IMAGE:latest
|
||||||
<<: *default_artifacts
|
|
||||||
dependencies: []
|
|
||||||
|
|
||||||
arch:rolling@default-build:
|
arch:rolling@default-build:
|
||||||
<<: *arch_template
|
extends: .arch@template
|
||||||
<<: *default_build
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# FreeBSD
|
# FreeBSD
|
||||||
#
|
#
|
||||||
.freebsd@template: &freebsd_template
|
.freebsd@template:
|
||||||
stage: build
|
extends: .build@template
|
||||||
image: $FREEBSD_CONTAINER_IMAGE:latest
|
image: $FREEBSD_CONTAINER_IMAGE:latest
|
||||||
variables:
|
variables:
|
||||||
MESON_ARGS: '--cross-file freebsd -Ddocumentation=false -Dtests=false -Depoll-dir=/freebsd/usr/local/'
|
MESON_ARGS: '--cross-file freebsd -Ddocumentation=false -Dtests=false -Depoll-dir=/freebsd/usr/local/'
|
||||||
# Can't run FreeBSD tests on Linux machine, so NINJA_ARGS shouldn't be "test"
|
# Can't run FreeBSD tests on Linux machine, so NINJA_ARGS shouldn't be "test"
|
||||||
NINJA_ARGS: ''
|
NINJA_ARGS: ''
|
||||||
<<: *default_artifacts
|
|
||||||
dependencies: []
|
|
||||||
|
|
||||||
freebsd:11.2@default-build:
|
freebsd:11.2@default-build:
|
||||||
<<: *freebsd_template
|
extends: .freebsd@template
|
||||||
<<: *default_build
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# deploy
|
# deploy
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue