summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 52fa9f782585d1a745ec25d1a8ab466514fa1936 (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
image: fedora:rawhide

stages:
  - build

build-folks:
  stage: build
  except:
    - tags
  before_script:
    - dnf update -y --nogpgcheck
    - dnf -y install --nogpgcheck
      dbus-glib-devel evolution-data-server-devel glib2-devel
      gobject-introspection-devel libgee-devel libxml2-devel meson ninja-build
      python2 readline-devel redhat-rpm-config telepathy-glib-devel
      telepathy-glib-vala tracker-devel vala
  script:
    - meson _build
    - ninja -C _build
    - bash +x ./.gitlab-ci/run-tests.sh
  allow_failure: true # FIXME: Remove when https://gitlab.gnome.org/GNOME/folks/issues/3 is fixed
  artifacts:
    reports:
      junit: "_build/${CI_JOB_NAME}-report.xml"
    name: "folks-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
    when: always
    paths:
      - "_build/config.h"
      - "_build/meson-logs"
      - "_build/${CI_JOB_NAME}-report.xml"