diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2022-03-01 13:25:01 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2022-03-29 12:47:59 +0000 |
commit | acdf5a7a185d67f3a62c4be1af5fa18b299ce8a9 (patch) | |
tree | 6a704802b7044912717c6fde59b92f6de2c512c1 /.gitlab-ci.yml | |
parent | dd8638e1319272887aef1a4b5aaa39d2fb9914be (diff) | |
download | dbus-acdf5a7a185d67f3a62c4be1af5fa18b299ce8a9.tar.gz |
On CI add build support for openSUSE distributions
The mingw related jobs are running the whole test suite which
is an extension to the available jobs.
The environment variable ci_suite is not used on openSUSE
distributions, as it is determined from the installed image.
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e8b7b5f..d38e63cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -70,9 +70,8 @@ windows amd64 docker: Exit 1 } -.debian-build: +.unix-host-build: stage: build - image: "debian:bullseye-slim" cache: key: ${CI_JOB_NAME} paths: @@ -89,6 +88,10 @@ windows amd64 docker: - chown -R user . - runuser -u user ./tools/ci-build.sh +.debian-build: + extends: .unix-host-build + image: "debian:bullseye-slim" + debian autotools production: extends: .debian-build variables: @@ -148,6 +151,34 @@ debian buster autotools: variables: ci_suite: "buster" +.suse-build: + extends: .unix-host-build + image: "opensuse/leap:15" + variables: + ci_distro: "opensuse" + +opensuse cmake: + extends: .suse-build + variables: + ci_buildsys: "cmake" + ci_local_packages: "no" + +opensuse mingw32 cmake: + extends: .suse-build + when: manual + variables: + ci_buildsys: "cmake" + ci_host: "i686-w64-mingw32" + ci_local_packages: "no" + +opensuse mingw64 cmake debug: + extends: .suse-build + variables: + ci_buildsys: "cmake" + ci_host: "x86_64-w64-mingw32" + ci_local_packages: "no" + ci_variant: "debug" + .win-build: image: $WINDOWS_IMAGE stage: build |