summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: e3c7e8121c4b851a3a69f5cbce914192a2645627 (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; dbus-run-session -- env LANG=en_US.UTF8 meson test --print-errorlogs'