Commit 580f0d8e authored by Adam Reichold's avatar Adam Reichold

Do not fetch test data for CI runs

Since the unit test data is now included in the main repository, we do not
need to fetch this for the CI jobs which was a frequent source of spurious
build failures.

This also sets up per-job caches so that GCC and Clang builds do not share
a cache and hence the cache that has to be fetched for each job is smaller.
parent 21a3941b
Pipeline #4676 passed with stage
in 4 minutes and 31 seconds
......@@ -22,8 +22,7 @@ build:
stage: build
script:
- mkdir -p build && cd build
- curl https://gitlab.freedesktop.org/poppler/test/-/archive/master/test-master.tar.gz | tar xz
- cmake -G Ninja -DTESTDATADIR=$PWD/test-master ..
- cmake -G Ninja ..
- ninja
- ctest --output-on-failure
......@@ -31,8 +30,7 @@ build_clang_libcpp:
stage: build
script:
- mkdir -p build && cd build
- curl https://gitlab.freedesktop.org/poppler/test/-/archive/master/test-master.tar.gz | tar xz
- CC=clang CXX=clang++ cmake -G Ninja -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DTESTDATADIR=$PWD/test-master ..
- CC=clang CXX=clang++ cmake -G Ninja -DCMAKE_CXX_FLAGS=-stdlib=libc++ ..
- ninja
- ctest --output-on-failure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment