From ab9220587e9a80c2b17be4ff31806bd96e4c7c20 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 25 Jan 2026 18:26:24 +0300 Subject: [PATCH] Get rid of unnecessary path relativity in 'test-and-benchmark' job --- .gitea/workflows/ChaosCI.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/ChaosCI.yaml b/.gitea/workflows/ChaosCI.yaml index 4b91146..154f19b 100644 --- a/.gitea/workflows/ChaosCI.yaml +++ b/.gitea/workflows/ChaosCI.yaml @@ -20,23 +20,17 @@ jobs: - name: Configure and build [Debug] run: | mkdir build-debug - cd build-debug - cmake .. -D CMAKE_BUILD_TYPE=Debug - cmake --build . + cmake -S . -B build-debug/ -D CMAKE_BUILD_TYPE=Debug + cmake --build build-debug/ - name: Configure and build [Release] run: | mkdir build-release - cd build-release - cmake .. -D CMAKE_BUILD_TYPE=Release - cmake --build . + cmake -S . -B build-release/ -D CMAKE_BUILD_TYPE=Release + cmake --build build-release/ - name: Run tests - run: | - cd build-debug - ./ChaosTests/ChaosTests + run: ./build-debug/ChaosTests/ChaosTests - name: Run benchmarks - run: | - cd build-release - ./ChaosBenches/ChaosBenches \ No newline at end of file + run: ./build-release/ChaosBenches/ChaosBenches \ No newline at end of file