From af9f71b704cbcab0f9d2b43fda1f081566e6f214 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 6 May 2021 15:20:23 +0200 Subject: meson testbuild include --- gitlab-ci-build-meson.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 gitlab-ci-build-meson.yml diff --git a/gitlab-ci-build-meson.yml b/gitlab-ci-build-meson.yml new file mode 100644 index 0000000..3b327c9 --- /dev/null +++ b/gitlab-ci-build-meson.yml @@ -0,0 +1,40 @@ +.build_meson: &build_meson + - mkdir build-meson + - meson . build-meson + - ninja-build -C build-meson + +build_fedora_aarch64: + stage: build + image: registry.gitlab.com/kraxel/rpm-package-builder:fedora + tags: + - aarch64 + rules: + - if: '$BUILD_AARCH64 == "yes"' + before_script: + - dnf builddep -y *.spec + script: + - *build_meson + +build_fedora_x86_64: + stage: build + image: registry.gitlab.com/kraxel/rpm-package-builder:fedora + before_script: + - dnf builddep -y *.spec + script: + - *build_meson + +build_el8_x86_64: + stage: build + image: registry.gitlab.com/kraxel/rpm-package-builder:el8 + before_script: + - dnf builddep -y *.spec + script: + - *build_meson + +build_el7_x86_64: + stage: build + image: registry.gitlab.com/kraxel/rpm-package-builder:el7 + before_script: + - yum-builddep -y *.spec + script: + - *build_meson -- cgit