Run test roms #437
Workflow file for this run
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: 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' | |
- uses: Swatinem/rust-cache@v2 | |
- name: Fetch mooneye-test-suite | |
run: > | |
wget https://gekkio.fi/files/mooneye-test-suite/mts-20240127-1204-74ae166/mts-20240127-1204-74ae166.tar.xz; | |
tar -xvf mts-20240127-1204-74ae166.tar.xz; | |
mkdir third_party/mooneye-test-suite/build; | |
mv mts-20240127-1204-74ae166 third_party/mooneye-test-suite/build; | |
- 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 |