Fix benchmark #118
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: CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install latest rust toolchain | |
uses: dtolnay/rust-toolchain@nightly | |
- name: Cache dependencies | |
uses: Swatinem/rust-cache@v2 | |
- name: Build Binary | |
run: cargo build --release | |
- name: Download weight table | |
run: wget https://poyo.me/reversi/table220710.tar.gz && tar xf table220710.tar.gz | |
- name: Run Test | |
run: cargo test --release | |
- name: Run Benchmark | |
run: cargo bench |