Skip to content

Run test roms

Run test roms #428

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" -P rgbds;
cd rgbds;
tar -xvf rgbds-0.8.0-linux-x86_64.tar.xz;
sudo ./install.sh;
- name: Install wla_dx
run: >
git clone "https://github.com/vhelin/wla-dx.git";
cd wla-dx;
cmake -G "Unix Makefiles" .;
make -j8;
sudo make install;
- 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