From b495d5cdf98b3ebea82d3d1344cea7e1b189dc86 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Mon, 7 Mar 2022 19:28:37 +0100 Subject: [PATCH] ci: add Alpine target to test Musl builds --- .gitlab-ci.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index caefd420..110c0ba2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,9 @@ include: - project: 'freedesktop/ci-templates' ref: *templates_sha file: '/templates/ubuntu.yml' + - project: 'freedesktop/ci-templates' + ref: *templates_sha + file: '/templates/alpine.yml' .fedora: variables: @@ -74,6 +77,27 @@ include: FDO_DISTRIBUTION_EXEC: >- pip3 install meson +.alpine: + variables: + # Update this tag when you want to trigger a rebuild + FDO_DISTRIBUTION_TAG: '2022-03-08.1' + FDO_DISTRIBUTION_VERSION: '3.15' + FDO_DISTRIBUTION_PACKAGES: >- + dbus + dbus-dev + doxygen + elogind-dev + findutils + g++ + gcc + git + glib-dev + gobject-introspection-dev + lua5.4-dev + meson + py3-lxml + samurai + .coverity: variables: FDO_REPO_SUFFIX: 'coverity' @@ -154,6 +178,14 @@ container_ubuntu: variables: GIT_STRATEGY: none +container_alpine: + extends: + - .alpine + - .fdo.container-build@alpine + stage: container + variables: + GIT_STRATEGY: none + container_coverity: extends: - .fedora @@ -203,6 +235,16 @@ build_on_ubuntu_no_gir: variables: BUILD_OPTIONS: -Dintrospection=disabled -Ddoc=disabled -Dsystem-lua=true +build_on_alpine: + extends: + - .alpine + - .not_coverity + - .fdo.distribution-image@alpine + - .build + stage: build + variables: + BUILD_OPTIONS: -Dintrospection=enabled -Ddoc=disabled -Dsystem-lua=true -Delogind=disabled + build_with_coverity: extends: - .fedora