aboutsummaryrefslogtreecommitdiffstats
path: root/gitlab-ci-build-meson.yml
blob: 9bc64c85a7223da382d7a1f31842d3e5b532f887 (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
28
29
30
31
32
33
34
35
36
37
38
39
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_stream9_x86_64:
  stage: build
  image: registry.gitlab.com/kraxel/rpm-package-builder:stream9
  before_script:
    - dnf builddep -y *.spec
  script:
    - *build_meson