ci: fix more silly mistakes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
light7734 2025-09-21 14:15:33 +03:30
parent 57eb9797ca
commit fc01fb6d6e
Signed by: light7734
GPG key ID: 8C30176798F1A6BA
4 changed files with 8 additions and 6 deletions

View file

@ -30,7 +30,7 @@ cmake .. \
-Wl,-rpath,/libcxx_lsan/lib" \ -Wl,-rpath,/libcxx_lsan/lib" \
&& cmake --build . -j`nproc` && cmake --build . -j`nproc`
for test in $(find ./build -type f -name '*_tests' -executable); do for test in $(find ./ -type f -name '*_tests' -executable); do
echo "Running $test" echo "Running $test"
"$test" "$test"
done done

View file

@ -32,7 +32,7 @@ cmake .. \
-Wl,-rpath,/libcxx_msan/lib" \ -Wl,-rpath,/libcxx_msan/lib" \
&& cmake --build . -j`nproc` && cmake --build . -j`nproc`
for test in $(find ./build -type f -name '*_tests' -executable); do for test in $(find ./ -type f -name '*_tests' -executable); do
echo "Running $test" echo "Running $test"
"$test" "$test"
done done

View file

@ -10,16 +10,17 @@ export CXX=$(which g++)
export CC=$(which gcc) export CC=$(which gcc)
export DISPLAY=:99 export DISPLAY=:99
# gcc uses libstdc++ by default
cmake .. \ cmake .. \
-G Ninja \ -G Ninja \
-DCMAKE_LINKER_TYPE=MOLD \ -DCMAKE_LINKER_TYPE=MOLD \
-DENABLE_UNIT_TESTS=ON \ -DENABLE_UNIT_TESTS=ON \
-DENABLE_LLVM_COVERAGE=ON \ -DENABLE_LLVM_COVERAGE=ON \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-std=c++23 -stdlib=libstdc++ -g -fno-omit-frame-pointer" \ -DCMAKE_CXX_FLAGS="-std=c++23 -g -fno-omit-frame-pointer" \
&& cmake --build . -j `nproc` && cmake --build . -j `nproc`
for test in $(find ./build -type f -name '*_tests' -executable); do for test in $(find ./ -type f -name '*_tests' -executable); do
echo "Running $test" echo "Running $test"
"$test" "$test"
done done

View file

@ -12,16 +12,17 @@ export CXX=$(which g++)
export CC=$(which gcc) export CC=$(which gcc)
export DISPLAY=:99 export DISPLAY=:99
# gcc uses libstdc++ by default
cmake .. \ cmake .. \
-G Ninja \ -G Ninja \
-DCMAKE_LINKER_TYPE=MOLD \ -DCMAKE_LINKER_TYPE=MOLD \
-DENABLE_UNIT_TESTS=ON \ -DENABLE_UNIT_TESTS=ON \
-DENABLE_LLVM_COVERAGE=ON \ -DENABLE_LLVM_COVERAGE=ON \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-std=c++23 -stdlib=libstdc++ -g -fno-omit-frame-pointer" \ -DCMAKE_CXX_FLAGS="-std=c++23 -g -fno-omit-frame-pointer" \
&& cmake --build . -j `nproc` && cmake --build . -j `nproc`
for test in $(find ./build -type f -name '*_tests' -executable); do for test in $(find ./ -type f -name '*_tests' -executable); do
echo "Running $test" echo "Running $test"
valgrind \ valgrind \