TGC-ISS/.gitea/workflows/interp_act.yaml

29 lines
1.0 KiB
YAML
Raw Normal View History

2024-03-24 11:05:23 +01:00
name: Interp architectural test suite
on: push
jobs:
2024-03-24 11:16:02 +01:00
Build and test interp backend:
2024-03-24 11:05:23 +01:00
runs-on: ubuntu-latest
container:
image: git.minres.com/tooling/riscof_sail:latest
steps:
2024-03-24 11:41:59 +01:00
- name: create ssh auth
run: |
mkdir -p ~/.ssh
echo "${{ secrets.ACTRUNNER_PRIVATE_SSHKEY }}" > ~/.ssh/id_rsa
2024-03-24 11:46:09 +01:00
echo $HOME
cat ~/.ssh/id_rsa
2024-03-24 11:41:59 +01:00
chmod 600 ~/.ssh/id_rsa
2024-03-24 11:05:23 +01:00
- name: Check out repository code
2024-03-24 11:41:59 +01:00
run: git clone --recursive https://git.minres.com/TGFS/TGC-ISS.git
- name: Checkout TGC-COMPLIANCE
run: git clone --recursive ssh://git@git.minres.com:2221/TGFS/TGC-COMPLIANCE.git
2024-03-24 11:05:23 +01:00
- name: Build tgc-sim executable
run: |
2024-03-24 11:16:02 +01:00
cmake -S TGC-ISS -B TGC-ISS/build -DCMAKE_BUILD_TYPE=Debug -DWITH_ASMJIT=OFF -DWITH_TCC=OFF -DWITH_LLVM=OFF
cmake --build TGC-ISS/build -j24
2024-03-24 11:05:23 +01:00
- name: run tests
2024-03-24 11:16:02 +01:00
run: python TGC-COMPLIANCE/run_act.py -core TGC5C -sim TGC-ISS/build/dbt-rise-tgc/tgc-sim --dockerless --backend interp