From 478012dd103420a304aa56d0593fd757d725c95e Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 25 Jan 2026 17:42:24 +0300 Subject: [PATCH] Place test and bench jobs in one .yaml --- .../{ChaosBenchmarkCI.yaml => ChaosCI.yaml} | 28 ++++++++++++++++- .gitea/workflows/ChaosTestCI.yaml | 30 ------------------- 2 files changed, 27 insertions(+), 31 deletions(-) rename .gitea/workflows/{ChaosBenchmarkCI.yaml => ChaosCI.yaml} (51%) delete mode 100644 .gitea/workflows/ChaosTestCI.yaml diff --git a/.gitea/workflows/ChaosBenchmarkCI.yaml b/.gitea/workflows/ChaosCI.yaml similarity index 51% rename from .gitea/workflows/ChaosBenchmarkCI.yaml rename to .gitea/workflows/ChaosCI.yaml index a1332e8..84eadd3 100644 --- a/.gitea/workflows/ChaosBenchmarkCI.yaml +++ b/.gitea/workflows/ChaosCI.yaml @@ -1,8 +1,34 @@ -name: ChaosBenchmark CI +name: Chaos CI on: [push, pull_request] jobs: + build-and-test: + 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 .. + cmake --build . + + - name: Run tests + run: | + cd build + ./ChaosTests/ChaosTests + build-and-benchmark: runs-on: ubuntu-latest diff --git a/.gitea/workflows/ChaosTestCI.yaml b/.gitea/workflows/ChaosTestCI.yaml deleted file mode 100644 index 443d0ab..0000000 --- a/.gitea/workflows/ChaosTestCI.yaml +++ /dev/null @@ -1,30 +0,0 @@ -name: ChaosTest CI - -on: [push, pull_request] - -jobs: - build-and-test: - 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 .. - cmake --build . - - - name: Run tests - run: | - cd build - ./ChaosTests/ChaosTests \ No newline at end of file