aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 4e576db66420ca51be0c176dd3f8d397ded57773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
stages:
  - build

.builddep_dnf: &builddep_dnf
  - 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
    - *build_meson

build_centos8:
  stage: build
  image: centos:8
  script:
    - dnf repolist --all
    - *builddep_dnf
    - *build_meson