diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-06 15:20:23 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-06 15:20:23 +0200 |
commit | af9f71b704cbcab0f9d2b43fda1f081566e6f214 (patch) | |
tree | 4b860e1aef58e11b6c23641e6d153c8ded155325 | |
parent | c1b62d8953bb87b9e67c8b001366e44b8124575f (diff) | |
download | rpm-package-builder-af9f71b704cbcab0f9d2b43fda1f081566e6f214.tar.gz |
meson testbuild include
-rw-r--r-- | gitlab-ci-build-meson.yml | 40 |
1 files changed, 40 insertions, 0 deletions
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 |