SPG debug UI #221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |