test(gb-test-runner): add turtle-tests report #745
Workflow file for this run
This file contains hidden or 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: test-roms | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test-roms: | |
| name: ${{ matrix.name }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: acid | |
| - name: blargg-cpu-instrs | |
| - name: blargg-dmg-sound | |
| - name: blargg-timing-memory-oam | |
| - name: daid | |
| - name: ashiepaws | |
| boot_roms: true | |
| - name: cpp | |
| - name: samesuite | |
| - name: mooneye-acceptance-manual-misc | |
| - name: mooneye-emulator-mbc1-mbc5 | |
| - name: mooneye-emulator-mbc2 | |
| - name: mealybug-tearoom-tests | |
| boot_roms: true | |
| - name: blargg-cgb-sound | |
| - name: samesuite-apu | |
| - name: ax6 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Rust | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: Cache Rust artifacts | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Fetch ${{ matrix.name }} boot ROMs | |
| if: ${{ matrix.boot_roms == true }} | |
| run: | | |
| BOOT_ROM_DIR="${RUNNER_TEMP}/boot-rom" | |
| cargo rom-fetch --boot-rom "$BOOT_ROM_DIR" | |
| echo "BOOT_ROM_DIR=$BOOT_ROM_DIR" >> "$GITHUB_ENV" | |
| - name: Run ${{ matrix.name }} ROM suite | |
| run: | | |
| if [[ "${{ matrix.boot_roms == true }}" == "true" ]]; then | |
| cargo rom-suite gb-emulator-shootout --suite "${{ matrix.name }}" --boot-rom-dir "$BOOT_ROM_DIR" | |
| else | |
| cargo rom-suite gb-emulator-shootout --suite "${{ matrix.name }}" | |
| fi |