summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2022-12-30 18:56:19 +0100
committerJulian Andres Klode <jak@debian.org>2025-05-19 17:06:31 +0000
commitaea3d9cf573a17400d4c1d399f410cb87ec58c6d (patch)
tree52f192e4e6c171e8cf8c84f148e5d2571b0ae539 /.gitlab-ci.yml
parent5901fb11d8df5f8b8578ea3032d0e5a953c8a429 (diff)
Include everything in our pkg-config autopkgtest
GCC defaults to C++17 currently, but our library users could be on other (newer/older) standard still e.g. by explicit request, so to avoid accidentally breaking them the pkg-config-test is adapted to include all of our public headers as a smoke test for if you can build an application against our library in a certain C++ standard. The test script is also adapted to be runnable outside of autopkgtest like in our CI or manually.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a6d56c0e..42d1b6a58 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -50,6 +50,7 @@ test as user:
script:
- apt-get install --no-install-recommends -qq libxml2-utils
- ./prepare-release post-build --report-failure
+ - sudo -u travis unbuffer ./debian/tests/pkg-config-test
- sudo -u travis CTEST_OUTPUT_ON_FAILURE=1 ninja -C build test
- chmod -R o-w $PWD
- sudo -u travis unbuffer ./test/integration/run-tests -q -j 4