Compare commits

..

No commits in common. "061b21ed51b12e9dfc3260ea0552b3bd5f125870" and "95096fe98a52658f8528e3cf3eb75ac6627016d3" have entirely different histories.

View File

@ -1,62 +1,53 @@
name: Run architectural test suite on backends name: Interp architectural test suite
on: push on: push
jobs: jobs:
build_job: Setup and build ISS:
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
steps: steps:
- name: Check out repository code - name: Check out repository code
run: git clone --recursive -b ${{gitea.ref_name}} https://git.minres.com/TGFS/TGC-ISS.git run: git clone --recursive -b ${{gitea.ref_name}} https://git.minres.com/TGFS/TGC-ISS.git
- name: Checkout TGC-COMPLIANCE - name: Checkout TGC-COMPLIANCE
run: | run: |
echo "${{ secrets.ACTRUNNER_PRIVATE_SSHKEY }}" > ssh_key echo "${{ secrets.ACTRUNNER_PRIVATE_SSHKEY }}" > ssh_key
chmod 600 ssh_key chmod 600 ssh_key
git clone --recursive -c core.sshCommand="/usr/bin/ssh -i ssh_key -o StrictHostKeyChecking=accept-new" ssh://git@git.minres.com:2221/TGFS/TGC-COMPLIANCE.git git clone --recursive -c core.sshCommand="/usr/bin/ssh -i ssh_key -o StrictHostKeyChecking=accept-new" ssh://git@git.minres.com:2221/TGFS/TGC-COMPLIANCE.git
- name: Build tgc-sim executable - name: Build tgc-sim executable
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
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w interp --dockerless --backend interp needs: Setup and build ISS
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w . --dockerless --backend interp
llvm_job: Test llvm backend:
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
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w llvm --dockerless --backend llvm needs: Setup and build ISS
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w . --dockerless --backend llvm
tcc_job: Test tcc backend:
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
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w tcc --dockerless --backend tcc needs: Setup and build ISS
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w . --dockerless --backend tcc
asmjit_job: Test asmjit backend:
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
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w asmjit --dockerless --backend asmjit needs: Setup and build ISS
run: python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim -w . --dockerless --backend asmjit