-
Notifications
You must be signed in to change notification settings - Fork 44
45 lines (39 loc) · 986 Bytes
/
in-game-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Compliance Tests
run-name: Compliance Tests
on:
push:
paths:
- 'computer.wld'
- 'test/**'
- 'tinterface/**'
branches:
- main
repository_dispatch:
workflow_dispatch:
jobs:
riscof:
name: RISCV Compliance Tests
runs-on: ubuntu-latest
container: misprit7/computerraria:latest
steps:
- name: Compile WireHead
run: |
cd /root/.local/share/Terraria/tModLoader/ModSources &&\
git clone https://github.com/misprit7/WireHead.git &&\
cd WireHead &&\
dotnet build
- name: Checkout computerraria
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install tinterface
run: pip3 install --break-system-packages -e ./tinterface
- name: Run riscof tests
run: ./run-tests.sh
- name: Upload results
if: always()
uses: actions/upload-artifact@v3
with:
name: Result summary
path: |
./test/riscof_work/