1
0
mirror of https://git.tukaani.org/xz.git synced 2025-04-22 23:50:51 +00:00

CI: Enable assertions on NetBSD + CMake

This commit is contained in:
Lasse Collin 2025-04-22 16:21:50 +03:00
parent 516b90f6e1
commit 09110ad4c7
No known key found for this signature in database
GPG Key ID: 38EE757D69184620

View File

@ -34,6 +34,6 @@ jobs:
uname -a
./po4a/update-po
# Innocent putc() triggers strict-overflow warnings.
cmake -G Ninja -B build -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS='-g -O2 -pipe -Wno-error=strict-overflow' -DCMAKE_COMPILE_WARNING_AS_ERROR=ON
cmake -G Ninja -B build -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS='-UNDEBUG -g -O2 -pipe -Wno-error=strict-overflow' -DCMAKE_COMPILE_WARNING_AS_ERROR=ON
ninja -C build
ctest --test-dir build --output-on-failure