summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2021-06-22 20:56:49 -0700
committerRalph Giles <giles@thaumas.net>2021-06-22 21:11:38 -0700
commita5e1ef1a880cf9d108e54d004784b95b762e237b (patch)
treeb035220fdfd43dd832ef964c9e657baa5ab2d0df
parentcf50bb8db4640ae9fd7edc7505581ab67bbf7897 (diff)
downloadflac-a5e1ef1a880cf9d108e54d004784b95b762e237b.tar.gz
gitlab-ci: drop tests from the makefile job.
Tests must be run as an unprivileged user, but Makefile.lite builds them as part of the `test` target, and so there are permission problems.
-rw-r--r--.gitlab-ci.yml8
1 files changed, 0 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 575e7154..4e37f7c9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,16 +36,8 @@ makefile:
before_script:
- apt-get update &&
apt-get install -y libogg-dev
- # Create an unpriviledged user, required for tests.
- - adduser --disabled-password --gecos "Gitlab CI" flac
script:
# The makefile doesn't create the `objs` tree it expects to use.
- - rm -rf objs
- mkdir -p objs/release/lib
- mkdir -p objs/release/bin
- - mkdir -p objs/debug/lib
- - mkdir -p objs/debug/bin
- # Release build
- make -f Makefile.lite
- # Run tests on the debug build
- - su -c 'make -f Makefile.lite test' flac