From 28334d1d78b351c3734991f92e9b250043fa4253 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 25 Jan 2026 18:07:41 +0300 Subject: [PATCH] Run tests and benchmarks in one job --- .gitea/workflows/ChaosCI.yaml | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/.gitea/workflows/ChaosCI.yaml b/.gitea/workflows/ChaosCI.yaml index 85ec931..d510b51 100644 --- a/.gitea/workflows/ChaosCI.yaml +++ b/.gitea/workflows/ChaosCI.yaml @@ -24,33 +24,19 @@ jobs: cmake .. cmake --build . + - name: Configure, build [Release] + run: | + mkdir build-release + cd build-release + cmake .. -D CMAKE_BUILD_TYPE=Release + cmake --build . + - name: Run tests run: | cd build ./ChaosTests/ChaosTests - build-and-benchmark: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: true - - - name: Install - run: | - sudo apt-get update - sudo apt-get install -y build-essential cmake - - - name: Configure, build - run: | - mkdir build - cd build - cmake .. -D CMAKE_BUILD_TYPE=Release - cmake --build . - - name: Run benchmarks run: | - cd build + cd build-release ./ChaosBenches/ChaosBenches \ No newline at end of file