Skip to content

improve count-positions command #1880

improve count-positions command

improve count-positions command #1880

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: fetch evalfile
run: |
curl -s "https://api.github.com/repos/cosmobobak/viridithas-networks/releases/latest" | grep -o '"browser_download_url": "[^"]*' | awk -F'"' '{print $4}' | xargs -L 1 wget -O viridithas.nnue
echo "EVALFILE=viridithas.nnue" >> $GITHUB_ENV
- name: build and test
run: cargo build --verbose
- name: run tests
run: cargo test --verbose