Skip to content

Resolve clippy warnings #91

Resolve clippy warnings

Resolve clippy warnings #91

Workflow file for this run

name: Build
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --features selftest
- name: Run tests
run: cargo test --verbose --features selftest
- name: Run tests from chess_bench
run: |
cd ..
git clone https://github.com/alex65536/chess_bench
mkdir chess_bench/.cargo
echo '[patch.crates-io]' > chess_bench/.cargo/config.toml
echo 'owlchess = { path = ${{ toJSON(format('{0}/chess', github.workspace)) }} }' >> chess_bench/.cargo/config.toml
cd chess_bench
cargo test --verbose