summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 53873dd87302c2f2bae22cc1926a80d2bc42e1e8 (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
image: fedora:latest

stages:
  - build

build-librest:
  stage: build
  except:
    - tags
  before_script:
    - dnf update -y --nogpgcheck
    - dnf -y install --nogpgcheck redhat-rpm-config
      glib2-devel gobject-introspection-devel libxml2-devel meson ninja-build
      libsoup-devel vala
  script:
    - meson _build
    - ninja -C _build
    - bash +x ./.gitlab-ci/run-tests.sh
  artifacts:
    reports:
      junit: "_build/${CI_JOB_NAME}-report.xml"
    name: "librest-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
    when: always
    paths:
      - "_build/config.h"
      - "_build/meson-logs"
      - "_build/${CI_JOB_NAME}-report.xml"