Skip to content

Try building mgba-rom-test locally. #1

Try building mgba-rom-test locally.

Try building mgba-rom-test locally. #1

Workflow file for this run

name: mgba-rom-test
on:
push:
pull_request:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
pass:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
# Build mGBA ROM test
- run: cd tests/pass
- run: curl -LsSf https://github.com/mgba-emu/mgba/archive/refs/tags/0.10.3.tar.gz | tar xzf
- run: cd mgba
- run: mkdir build && cd build
- run: cmake .. -DUSE_LIBZIP=OFF -DBUILD_ROM_TEST=ON -DUSE_PNG=OFF
- run: make
- run: cd ../.. && cargo test
# - uses: felixjones/github-mgba-rom-test@v1
# with:
# swi-call: 0x27
# read-register: 'r0'
# rom-path: ''
# success-code: 0 # Pass