From fc01fb6d6ee62bb4ece72c02094cfd372b108b1b Mon Sep 17 00:00:00 2001 From: light7734 Date: Sun, 21 Sep 2025 14:15:33 +0330 Subject: [PATCH] ci: fix more silly mistakes --- tools/ci/amd64/clang/lsan.sh | 2 +- tools/ci/amd64/clang/msan.sh | 2 +- tools/ci/amd64/gcc/unit_tests.sh | 5 +++-- tools/ci/amd64/gcc/valgrind.sh | 5 +++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/tools/ci/amd64/clang/lsan.sh b/tools/ci/amd64/clang/lsan.sh index 92eb880..bcc903d 100755 --- a/tools/ci/amd64/clang/lsan.sh +++ b/tools/ci/amd64/clang/lsan.sh @@ -30,7 +30,7 @@ cmake .. \ -Wl,-rpath,/libcxx_lsan/lib" \ && 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" "$test" done diff --git a/tools/ci/amd64/clang/msan.sh b/tools/ci/amd64/clang/msan.sh index 86b235d..101234f 100755 --- a/tools/ci/amd64/clang/msan.sh +++ b/tools/ci/amd64/clang/msan.sh @@ -32,7 +32,7 @@ cmake .. \ -Wl,-rpath,/libcxx_msan/lib" \ && 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" "$test" done diff --git a/tools/ci/amd64/gcc/unit_tests.sh b/tools/ci/amd64/gcc/unit_tests.sh index 845a656..b345fd2 100755 --- a/tools/ci/amd64/gcc/unit_tests.sh +++ b/tools/ci/amd64/gcc/unit_tests.sh @@ -10,16 +10,17 @@ export CXX=$(which g++) export CC=$(which gcc) export DISPLAY=:99 +# gcc uses libstdc++ by default cmake .. \ -G Ninja \ -DCMAKE_LINKER_TYPE=MOLD \ -DENABLE_UNIT_TESTS=ON \ -DENABLE_LLVM_COVERAGE=ON \ -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` -for test in $(find ./build -type f -name '*_tests' -executable); do +for test in $(find ./ -type f -name '*_tests' -executable); do echo "Running $test" "$test" done diff --git a/tools/ci/amd64/gcc/valgrind.sh b/tools/ci/amd64/gcc/valgrind.sh index 40abf0e..e7f70bc 100755 --- a/tools/ci/amd64/gcc/valgrind.sh +++ b/tools/ci/amd64/gcc/valgrind.sh @@ -12,16 +12,17 @@ export CXX=$(which g++) export CC=$(which gcc) export DISPLAY=:99 +# gcc uses libstdc++ by default cmake .. \ -G Ninja \ -DCMAKE_LINKER_TYPE=MOLD \ -DENABLE_UNIT_TESTS=ON \ -DENABLE_LLVM_COVERAGE=ON \ -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` -for test in $(find ./build -type f -name '*_tests' -executable); do +for test in $(find ./ -type f -name '*_tests' -executable); do echo "Running $test" valgrind \