Merge branch 'tgt-builds'
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 1m33s

Optimize CI by not building unused binaries.
This commit is contained in:
hashlag
2026-01-28 23:29:57 +03:00

View File

@@ -17,17 +17,17 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y build-essential cmake valgrind lcov sudo apt-get install -y build-essential cmake valgrind lcov
- name: Configure and build [Debug] - name: Configure and build tests [Debug]
run: | run: |
mkdir build-debug mkdir build-debug
cmake -S . -B build-debug/ -D CMAKE_BUILD_TYPE=Debug cmake -S . -B build-debug/ -D CMAKE_BUILD_TYPE=Debug
cmake --build build-debug/ cmake --build build-debug/ -t ChaosTests
- name: Configure and build [Release] - name: Configure and build benchmarks [Release]
run: | run: |
mkdir build-release mkdir build-release
cmake -S . -B build-release/ -D CMAKE_BUILD_TYPE=Release cmake -S . -B build-release/ -D CMAKE_BUILD_TYPE=Release
cmake --build build-release/ cmake --build build-release/ -t ChaosBenches
- name: Run tests - name: Run tests
run: valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all ./build-debug/ChaosTests/ChaosTests run: valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all ./build-debug/ChaosTests/ChaosTests