summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 75470763ba4215eb44812beed73ace9157f0328f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
stages:
  - test

test-fedora-latest:
  stage: test
  image: registry.gitlab.gnome.org/sthursfield/tracker-oci-images/amd64/fedora:latest

  script:
    - su tracker -c 'mkdir build'
    - su tracker -c 'cd build; meson ..'
    - su tracker -c 'cd build; ninja'
    - |
      # Remove the many "CI_" variables from the environment. Meson dumps the
      # whole environment for every failed test, and that gives a whole
      # screenful of junk each time unless we strip these.
      unset $(env|grep -o '^CI_[^=]*')

      su tracker -c 'cd build; LANG=en_US.UTF8 dbus-launch meson test --print-errorlogs'