-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.12 KB
/
sh4_test.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
name: SH4 Interpreter Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: SingleStepTests/sh4
path: sh4_json
- name: Move JSON test files to temp directory
run: mkdir /home/runner/dev && mv sh4_json /home/runner/dev/sh4_json/
- name: Transcode JSON test files
working-directory: /home/runner/dev/sh4_json/
run: python ./transcode_json.py
- name: Move JSON test files to final location
run: mv /home/runner/dev/sh4_json/ ../SingleStepTests_sh4/
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Get zig version
id: zigversion
run: echo "version=$(cat .zigversion)" >> $GITHUB_OUTPUT
- uses: mlugg/setup-zig@v1
with:
version: ${{ steps.zigversion.outputs.version }}
- run: zig build sh4_test --summary all