COMPILER: ${{ matrix.config.compiler }}
COMP: ${{ matrix.config.comp }}
EXT: ${{ matrix.config.ext }}
+ SDE: ${{ matrix.config.sde }}
NAME: ${{ matrix.config.simple_name }}
BINARY: ${{ matrix.binaries }}
strategy:
comp: gcc
shell: bash
archive_ext: tar
+ sde: /home/runner/work/Stockfish/Stockfish/.output/sde-temp-files/sde-external-9.14.0-2022-10-25-lin/sde -future
- name: MacOS 12 Apple Clang
os: macos-12
simple_name: macos
msys_env: x86_64-gcc
shell: msys2 {0}
ext: .exe
+ sde: /d/a/Stockfish/Stockfish/.output/sde-temp-files/sde-external-9.14.0-2022-10-25-win/sde.exe -future
archive_ext: zip
binaries:
- x86-64
- x86-64-modern
- x86-64-avx2
- x86-64-bmi2
+ # - x86-64-avxvnni needs more recent gcc
+ - x86-64-avx512
+ - x86-64-vnni256
+ - x86-64-vnni512
exclude:
- - binaries: x86-64-avx2
- config: { os: macos-12 }
- binaries: x86-64-bmi2
config: { os: macos-12 }
+ #- binaries: x86-64-avxvnni
+ # config: { os: macos-12 }
+ - binaries: x86-64-avx512
+ config: { os: macos-12 }
+ - binaries: x86-64-vnni256
+ config: { os: macos-12 }
+ - binaries: x86-64-vnni512
+ config: { os: macos-12 }
defaults:
run:
working-directory: src
msystem: ${{ matrix.config.msys_sys }}
install: mingw-w64-${{ matrix.config.msys_env }} make git zip
+ - name: Download SDE package
+ if: runner.os == 'Linux' || runner.os == 'Windows'
+ uses: petarpetrovt/setup-sde@v2.1
+ with:
+ environmentVariableName: SDE_DIR
+ sdeVersion: 9.14.0
+
- name: Download the used network from the fishtest framework
run: make net
- name: Compile ${{ matrix.binaries }} build
run: |
- make -j2 profile-build ARCH=$BINARY COMP=$COMP
+ make -j2 profile-build ARCH=$BINARY COMP=$COMP SDE_PATH="$SDE"
make strip ARCH=$BINARY COMP=$COMP
mv ./stockfish$EXT ../stockfish-$NAME-$BINARY$EXT