aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ed6c511..5608d62 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,15 @@
stages:
- build
+.builddep_dnf: &builddep_dnf
+ - dnf install -y 'dnf-command(builddep)'
+ - dnf builddep -y *.spec
+
build_fedora:
stage: build
image: fedora:latest
script:
- - dnf install -y 'dnf-command(builddep)'
- - dnf builddep -y *.spec
+ - *builddep_dnf
- mkdir build-meson
- meson . build-meson
- ninja-build -C build-meson