aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5608d62..e2393f8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,11 +5,22 @@ stages:
- dnf install -y 'dnf-command(builddep)'
- dnf builddep -y *.spec
+.build_meson: &build_meson
+ - mkdir build-meson
+ - meson . build-meson
+ - ninja-build -C build-meson
+
build_fedora:
stage: build
image: fedora:latest
script:
- *builddep_dnf
- - mkdir build-meson
- - meson . build-meson
- - ninja-build -C build-meson
+ - *build_meson
+
+build_centos8:
+ stage: build
+ image: centos:8
+ script:
+ - *builddep_dnf
+ - *build_meson
+