no-std example for no-std verification #89
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: Correctness | |
on: [push, pull_request] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Clippy | |
run: cargo clippy --workspace --examples --tests --all-targets -- --deny warnings | |
- name: Clippy all features | |
run: cargo clippy --workspace --examples --tests --all-targets --all-features -- --deny warnings | |
- name: Check formatting | |
run: cargo fmt --all -- --check | |
- name: Make stockfish executable | |
run: chmod +x resources/stockfish-ubuntu-x86-64-avx2 | |
- name: Test | |
run: cargo test --workspace --all-features -q |