Skip to content

Run test roms

Run test roms #421

Workflow file for this run

name: main
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Install rgbds
run: wget "https://github.com/gbdev/rgbds/releases/download/v0.8.0/rgbds-0.8.0-linux-x86_64.tar.xz"; mkdir rgbds; mv rgbds-0.8.0-linux-x86_64.tar.xz rgbds; cd rgbds; tar -xvf rgbds-0.8.0-linux-x86_64.tar.xz; ./install.sh
- name: check repo
run: cd third_party/mooneye-test-suite; make; tree .
- uses: Swatinem/rust-cache@v2
- name: Version
run: rustc --version
- name: Run rustfmt
run: cargo fmt --check
- name: Unit tests
run: cargo test -- --nocapture
- name : Clippy
run: cargo clippy --all-features