Static exchange pruning in quiesence search if loss is a single pawn. #689
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: make | |
on: push | |
jobs: | |
make: | |
strategy: | |
matrix: | |
platform: | |
- runner: ubuntu-24.04 | |
shell: 'bash' | |
suffix: -linux-gcc-nehalem | |
cxx: g++ | |
llvm_profdata: '' | |
arch: nehalem | |
extra: '' | |
- runner: ubuntu-24.04 | |
shell: 'bash' | |
suffix: -linux-gcc | |
cxx: g++ | |
llvm_profdata: '' | |
arch: haswell | |
extra: '' | |
- runner: ubuntu-24.04 | |
shell: 'bash' | |
suffix: -linux-clang | |
cxx: clang++-18 | |
llvm_profdata: llvm-profdata-18 | |
arch: haswell | |
extra: '-DNDEBUG' | |
- runner: windows-latest | |
shell: 'msys2 {0}' | |
suffix: -windows-clang | |
cxx: clang++ | |
llvm_profdata: llvm-profdata | |
arch: haswell | |
extra: '-DNDEBUG' | |
defaults: | |
run: | |
shell: ${{ matrix.platform.shell }} | |
runs-on: ${{ matrix.platform.runner }} | |
steps: | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: clang64 | |
install: >- | |
git | |
base-devel | |
mingw-w64-clang-x86_64-clang | |
mingw-w64-clang-x86_64-compiler-rt | |
mingw-w64-clang-x86_64-lld | |
if: ${{ matrix.platform.runner == 'windows-latest' }} | |
- uses: actions/checkout@v4 | |
- id: make | |
run: | | |
make CXX=${{ matrix.platform.cxx }} LLVM_PROFDATA=${{ matrix.platform.llvm_profdata }} \ | |
ARCH=${{ matrix.platform.arch }} EXTRA_CPPFLAGS='${{ matrix.platform.extra }}' \ | |
LDFLAGS='-static -s' SUFFIX=${{ matrix.platform.suffix }} | |
echo "artifact=$(basename -s .exe out/seawall-*)" >> $GITHUB_OUTPUT | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ steps.make.outputs.artifact }} | |
path: out/seawall-* |