From bdb7cbd36d7596f96b108dd178a7279561e5165b Mon Sep 17 00:00:00 2001 From: Eyck-Alexander Jentzsch Date: Mon, 22 Apr 2024 19:56:07 +0200 Subject: [PATCH] adds different approach to indicate failure --- .gitea/workflows/run_act.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/run_act.yaml b/.gitea/workflows/run_act.yaml index 9d4d91c..8ff9328 100644 --- a/.gitea/workflows/run_act.yaml +++ b/.gitea/workflows/run_act.yaml @@ -28,12 +28,14 @@ jobs: - name: Test interp backend continue-on-error: true + id: interp run: | mkdir interp python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w interp --dockerless --backend interp - name: Test llvm backend continue-on-error: true + id: llvm run: | mkdir llvm echo "llvm takes too long to build, so it is skipped" @@ -42,15 +44,17 @@ jobs: - name: Test tcc backend continue-on-error: true + id: tcc run: | mkdir tcc python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w tcc --dockerless --backend tcc - name: Test asmjit backend continue-on-error: true + id: asmjit run: | mkdir asmjit python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w asmjit --dockerless --backend asmjit - name: Indicate Failure - if: ${{ failure() }} + if: ${{ steps.interp.conclusion == 'failure' || steps.llvm.conclusion == 'failure' || steps.tcc.conclusion == 'failure' || steps.asmjit.conclusion == 'failure'}} run: exit 1 \ No newline at end of file