Skip to content

Commit 956166e

Browse files
committed
Try to fix setup-windows-latest.sh
1 parent 52c7e1b commit 956166e

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/bin/sh -e
22

3+
echo Download ...
4+
choco install wget
35
wget https://stockfishchess.org/files/stockfish-11-win.zip
4-
unzip stockfish-11-win.zip
5-
mv stockfish-11-win/Windows/stockfish_20011801_x64_bmi2.exe stockfish.exe
6+
7+
echo Unzip ..
8+
7z e stockfish-11-win.zip stockfish-11-win/Windows/*.exe
9+
10+
echo Setup path ...
11+
mv stockfish_20011801_x64_bmi2.exe stockfish.exe
612
pwd >> $GITHUB_PATH

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
with:
1616
python-version: ${{ matrix.python-version }}
1717
- run: .github/workflows/setup-${{ matrix.os }}.sh
18+
shell: bash
1819
- run: pip install -e .
1920
- run: python test.py -v
2021
perft:

0 commit comments

Comments
 (0)