Explicitly configure test build as 'Debug'

This commit is contained in:
hashlag
2026-01-25 18:18:55 +03:00
parent 26d866d1cf
commit 254c1e0e01

View File

@@ -17,11 +17,11 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y build-essential cmake sudo apt-get install -y build-essential cmake
- name: Configure and build - name: Configure and build [Debug]
run: | run: |
mkdir build mkdir build-debug
cd build cd build-debug
cmake .. cmake .. -D CMAKE_BUILD_TYPE=Debug
cmake --build . cmake --build .
- name: Configure and build [Release] - name: Configure and build [Release]
@@ -33,7 +33,7 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
cd build cd build-debug
./ChaosTests/ChaosTests ./ChaosTests/ChaosTests
- name: Run benchmarks - name: Run benchmarks