cleans up workflow

This commit is contained in:
Eyck-Alexander Jentzsch 2024-03-24 17:01:34 +01:00
parent 6c304055bf
commit 406cec6d27
1 changed files with 29 additions and 20 deletions

View File

@ -1,7 +1,8 @@
name: Interp architectural test suite name: Run architectural test suite on backends
on: push on: push
jobs: jobs:
Setup and build ISS: build_job:
name: Build ISS and Setup TGC-COMPLIANCE
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: git.minres.com/tooling/riscof_sail:latest image: git.minres.com/tooling/riscof_sail:latest
@ -19,35 +20,43 @@ jobs:
run: | run: |
cmake -S TGC-ISS -B TGC-ISS/build -DCMAKE_BUILD_TYPE=Debug -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=ON cmake -S TGC-ISS -B TGC-ISS/build -DCMAKE_BUILD_TYPE=Debug -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=ON
cmake --build TGC-ISS/build -j24 cmake --build TGC-ISS/build -j24
Test interp backend:
interp_job:
name: Test interp backend
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_job
container: container:
image: git.minres.com/tooling/riscof_sail:latest image: git.minres.com/tooling/riscof_sail:latest
steps: steps:
- name: run tests - name: Run tests
needs: Setup and build ISS run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w interp --dockerless --backend interp
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w . --dockerless --backend interp
Test llvm backend: llvm_job:
name: Test llvm backend
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_job
container: container:
image: git.minres.com/tooling/riscof_sail:latest image: git.minres.com/tooling/riscof_sail:latest
steps: steps:
- name: run tests - name: Run tests
needs: Setup and build ISS run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w llvm --dockerless --backend llvm
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w . --dockerless --backend llvm
Test tcc backend: tcc_job:
name: Test tcc backend
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_job
container: container:
image: git.minres.com/tooling/riscof_sail:latest image: git.minres.com/tooling/riscof_sail:latest
steps: steps:
- name: run tests - name: Run tests
needs: Setup and build ISS run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w tcc --dockerless --backend tcc
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w . --dockerless --backend tcc
Test asmjit backend: asmjit_job:
name: Test asmjit backend
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_job
container: container:
image: git.minres.com/tooling/riscof_sail:latest image: git.minres.com/tooling/riscof_sail:latest
steps: steps:
- name: run tests - name: Run tests
needs: Setup and build ISS run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w asmjit --dockerless --backend asmjit
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w . --dockerless --backend asmjit