Skip to content

Commit

Permalink
Make test functional by installing fairy-stockfish
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkZH committed Oct 8, 2024
1 parent 54b18de commit ebb687c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/setup-ubuntu-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ sudo apt-get install -y stockfish
# Crafty
sudo apt-get install -y crafty

# Fairy-stockfish
sudo apt-get install -y fairy-stockfish

# Gaviota libgtb
git clone https://github.com/michiguel/Gaviota-Tablebases.git --depth 1
cd Gaviota-Tablebases
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/setup-windows-latest.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh -e

echo Download ...
echo Download stockfish ...
choco install wget
wget https://github.com/official-stockfish/Stockfish/releases/download/sf_16/stockfish-windows-x86-64-avx2.zip

Expand All @@ -10,3 +10,7 @@ echo Unzip ..
echo Setup path ...
mv stockfish-windows-x86-64-avx2.exe stockfish.exe
pwd >> $GITHUB_PATH

echo Download fairy-stockfish ...
wget https://github.com/fairy-stockfish/Fairy-Stockfish/releases/latest/download/fairy-stockfish-largeboard_x86-64.exe
mv fairy-stockfish-largeboard_x86-64.exe fairy-stockfish.exe
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ passenv = LD_LIBRARY_PATH
whitelist_externals =
stockfish
crafty
fairy-stockfish
commands =
python test.py --verbose
python -m doctest README.rst --verbose
Expand Down

0 comments on commit ebb687c

Please sign in to comment.