1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Consistent bench extraction with fishtest.

Consistent with recent fishtest commit c0d174396f

closes https://github.com/official-stockfish/Stockfish/pull/4619

No functional change
This commit is contained in:
peregrineshahin 2023-06-14 15:57:36 +03:00 committed by Joost VandeVondele
parent 887bbd8b3d
commit 14bfec2a98

View file

@ -115,7 +115,7 @@ jobs:
- name: Extract the bench number from the commit history
run: |
git log HEAD | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed "s/[^0-9]*\([0-9]*\).*/\1/g" > git_sig
git log HEAD | grep -o "\b[Bb]ench[ :]\+[1-9][0-9]\{5,9\}\b" | head -n 1 | sed "s/[^0-9]//g" > git_sig
[ -s git_sig ] && echo "benchref=$(cat git_sig)" >> $GITHUB_ENV && echo "Reference bench:" $(cat git_sig) || echo "No bench found"
- name: Check compiler