Skip to content

Commit 12989ed

Browse files
committed
test
1 parent a6c740c commit 12989ed

1 file changed

Lines changed: 10 additions & 24 deletions

File tree

.github/workflows/games.yml

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -127,30 +127,16 @@ jobs:
127127
chmod +x base-engine/$OUTPUT_EXEC
128128
chmod +x tools/fastchess
129129
chmod +x tools/ordo-linux64
130-
max_retries=3
131-
for attempt in $(seq 1 $max_retries); do
132-
echo "Fastchess attempt $attempt/$max_retries"
133-
if tools/fastchess \
134-
-recover -repeat \
135-
-engine cmd=new-engine/engine name=new \
136-
-engine cmd=base-engine/$OUTPUT_EXEC name=base \
137-
-openings file=tools/UHO_Lichess_4852_v1.epd format=epd order=random \
138-
-each tc=$TC \
139-
-rounds 1500 \
140-
-concurrency $(nproc) \
141-
-pgnout notation=san nodes=true \
142-
file=games_${{ matrix.shard }}.pgn \
143-
| tee results_${{ matrix.shard }}.txt; then
144-
echo "Fastchess completed successfully."
145-
exit 0
146-
fi
147-
if [ "$attempt" -lt "$max_retries" ]; then
148-
echo "Fastchess failed, retrying in 5 seconds..."
149-
sleep 5
150-
fi
151-
done
152-
echo "Fastchess failed after $max_retries attempts."
153-
exit 1
130+
tools/fastchess \
131+
-engine cmd=new-engine/engine name=new \
132+
-engine cmd=base-engine/$OUTPUT_EXEC name=base \
133+
-openings file=tools/UHO_Lichess_4852_v1.epd format=epd order=random \
134+
-each tc=$TC \
135+
-rounds 1500 \
136+
-concurrency $(nproc) \
137+
-pgnout notation=san nodes=true \
138+
file=games_${{ matrix.shard }}.pgn \
139+
| tee results_${{ matrix.shard }}.txt
154140
155141
- uses: actions/upload-artifact@v4
156142
with:

0 commit comments

Comments
 (0)