Skip to content

Commit

Permalink
Update stockfish.yml: Add profile build tests with optimization and d…
Browse files Browse the repository at this point in the history
…ebug
  • Loading branch information
yjf2002ghty authored Jul 9, 2024
1 parent c24a1f7 commit 5b7aebc
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/stockfish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
branches:
- master
- tools
workflow_dispatch:

jobs:
Stockfish:
name: ${{ matrix.config.name }}
Expand Down Expand Up @@ -48,7 +46,7 @@ jobs:
- name: Download required packages
run: |
sudo apt update
sudo apt install expect valgrind g++-multilib
sudo apt install expect valgrind g++-multilib llvm
- name: Download the used network from the fishtest framework
run: |
Expand Down Expand Up @@ -76,6 +74,12 @@ jobs:
make -j2 ARCH=x86-32 optimize=no debug=yes build
../tests/signature.sh $benchref
- name: Test debug x86-32 profile build (Optimization on, All features)
run: |
export CXXFLAGS=""
make clean
make -j2 ARCH=x86-32 optimize=yes all=yes largeboards=yes debug=yes profile-build
- name: Test x86-32 build
run: |
make clean
Expand Down Expand Up @@ -109,6 +113,12 @@ jobs:
make -j2 ARCH=x86-64-modern optimize=no debug=yes build
../tests/signature.sh $benchref
- name: Test debug x86-64-modern profile build (Optimization on, All features)
run: |
export CXXFLAGS=""
make clean
make -j2 ARCH=x86-64-modern optimize=yes all=yes largeboards=yes debug=yes profile-build
- name: Test x86-64-modern build
run: |
make clean
Expand Down

0 comments on commit 5b7aebc

Please sign in to comment.