diff options
-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 |