Reimplement newBitboard to avoid string operations. (#75) #65
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: Build and Test | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: 1.17 | |
- run: wget https://stockfishchess.org/files/stockfish_14.1_linux_x64.zip | |
- run: unzip stockfish_14.1_linux_x64.zip | |
- run: ln stockfish_14.1_linux_x64/stockfish_14.1_linux_x64 stockfish | |
- run: chmod u+x stockfish | |
- run: go build -v ./... | |
- run: go test -v -bench=. ./... | |