Make sure to init all variables involved in CMake tests

This commit is contained in:
ISSOtm
2026-03-09 03:20:37 -04:00
committed by Rangi
parent 676db46c01
commit 6270f654a1
3 changed files with 13 additions and 6 deletions

View File

@@ -383,7 +383,7 @@ jobs:
git \
png
run: | # FreeBSD `c++` compiler does not support `make develop` sanitizers ASan or UBSan
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=c++ -DUSE_EXTERNAL_TESTS=OFF -DOS=bsd
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=c++ -DUSE_EXTERNAL_TESTS=OFF -DTESTS_OS_NAME=bsd
cmake --build build -j4 --verbose
cmake --install build --verbose
cmake --build build --target test