Make CI not to build currently unused targets:
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 1m36s

ChaosTests in Release and ChaosBenches in Debug.
This commit is contained in:
hashlag
2026-01-28 23:24:12 +03:00
parent 0c3ce4af8d
commit 0a8b79cd09

View File

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