From cc23e02b89be94bd6adf01d9c93ab4bd12c65d3d Mon Sep 17 00:00:00 2001 From: Eyck-Alexander Jentzsch Date: Sun, 24 Mar 2024 17:59:36 +0100 Subject: [PATCH] moves tests into single job --- .gitea/workflows/run_act.yaml | 38 +++++------------------------------ 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/.gitea/workflows/run_act.yaml b/.gitea/workflows/run_act.yaml index fd8bb72..c1db52b 100644 --- a/.gitea/workflows/run_act.yaml +++ b/.gitea/workflows/run_act.yaml @@ -1,7 +1,7 @@ name: Run architectural test suite on backends on: push jobs: - build_job: + build_and_test_job: name: Build ISS and Setup TGC-COMPLIANCE runs-on: ubuntu-latest container: @@ -22,43 +22,15 @@ jobs: cmake -S TGC-ISS -B TGC-ISS/build -DCMAKE_BUILD_TYPE=Debug -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=OFF cmake --build TGC-ISS/build -j24 - interp_job: - name: Test interp backend - runs-on: ubuntu-latest - needs: build_job - container: - image: git.minres.com/tooling/riscof_sail:latest - steps: - - name: Run tests + - name: Test interp backend run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w interp --dockerless --backend interp - llvm_job: - name: Test llvm backend - runs-on: ubuntu-latest - needs: build_job - container: - image: git.minres.com/tooling/riscof_sail:latest - steps: - - name: Run tests + - name: Test llvm backend run: echo "llvm takes too long to build, so it is skipped" ##run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w llvm --dockerless --backend llvm - tcc_job: - name: Test tcc backend - runs-on: ubuntu-latest - needs: build_job - container: - image: git.minres.com/tooling/riscof_sail:latest - steps: - - name: Run tests + - name: Test tcc backend run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w tcc --dockerless --backend tcc - asmjit_job: - name: Test asmjit backend - runs-on: ubuntu-latest - needs: build_job - container: - image: git.minres.com/tooling/riscof_sail:latest - steps: - - name: Run tests + - name: Test asmjit backend run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w asmjit --dockerless --backend asmjit \ No newline at end of file