summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2020-12-27 13:19:00 +0100
committerSam Thursfield <sam@afuera.me.uk>2020-12-27 13:25:41 +0100
commitb3a6a7ba84d4f9c1f4ed95551fb8099738188e5d (patch)
tree08c86ee8220f74e793e62faccd79a75a10178af3 /.gitlab-ci.yml
parentac8a12cf0040710b95ddab77b687209d2797ae9c (diff)
downloadlibmediaart-b3a6a7ba84d4f9c1f4ed95551fb8099738188e5d.tar.gz
ci: Update for changes in tracker-oci-images
Since https://gitlab.gnome.org/GNOME/tracker-oci-images/-/merge_requests/28 the container images set 'USER tracker', so privileged ops like installing packages are no longer possible during testcases. So, gdk-pixbuf is added to the base images in https://gitlab.gnome.org/GNOME/tracker-oci-images/-/merge_requests/38.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
1 files changed, 4 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6764c49..530b2ce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,15 +15,15 @@ stages:
stage: test
script:
- - su tracker -c 'mkdir build'
- - su tracker -c 'cd build; meson ..'
- - su tracker -c 'cd build; ninja'
+ - mkdir build; cd build
+ - meson ..
+ - 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; env meson test --print-errorlogs ${MESON_TEST_EXTRA_ARGS}'
+ env meson test --print-errorlogs ${MESON_TEST_EXTRA_ARGS}
after_script:
- |
@@ -45,19 +45,12 @@ stages:
test-alpine-edge:
image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/alpine:edge
- before_script:
- - apk add gdk-pixbuf-dev
<<: *test
test-fedora-latest:
image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/fedora:latest
- before_script:
- - dnf install -y gdk-pixbuf2-devel
<<: *test
test-ubuntu-rolling:
image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/ubuntu:rolling
- before_script:
- - apt-get update
- - apt-get install -y libgdk-pixbuf2.0-dev
<<: *test