mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +00:00
Switch to macos 13 for CI
allows for building x86-64-avx2 and x86-64-bmi2 binaries for mac install coreutils show hardware capabilities as seen by the compilers move some tests from sse41 to avx2 as platforms support it closes https://github.com/official-stockfish/Stockfish/pull/4692 No functional change
This commit is contained in:
@@ -38,14 +38,14 @@ jobs:
|
||||
comp: ndk
|
||||
run_armv7_tests: true
|
||||
shell: bash
|
||||
- name: MacOS 12 Apple Clang
|
||||
os: macos-12
|
||||
- name: MacOS 13 Apple Clang
|
||||
os: macos-13
|
||||
compiler: clang++
|
||||
comp: clang
|
||||
run_64bit_tests: true
|
||||
shell: bash
|
||||
- name: MacOS 12 GCC 11
|
||||
os: macos-12
|
||||
- name: MacOS 13 GCC 11
|
||||
os: macos-13
|
||||
compiler: g++-11
|
||||
comp: gcc
|
||||
run_64bit_tests: true
|
||||
@@ -177,23 +177,23 @@ jobs:
|
||||
|
||||
# x86-64 tests
|
||||
|
||||
- name: Test debug x86-64-sse41-popcnt build
|
||||
- name: Test debug x86-64-avx2 build
|
||||
if: matrix.config.run_64bit_tests
|
||||
run: |
|
||||
export CXXFLAGS="-Werror -D_GLIBCXX_DEBUG"
|
||||
make clean
|
||||
make -j2 ARCH=x86-64-sse41-popcnt optimize=no debug=yes build
|
||||
make -j2 ARCH=x86-64-avx2 optimize=no debug=yes build
|
||||
../tests/signature.sh $benchref
|
||||
|
||||
- name: Test x86-64-bmi2 build
|
||||
if: matrix.config.run_64bit_tests && runner.os != 'macOS'
|
||||
if: matrix.config.run_64bit_tests
|
||||
run: |
|
||||
make clean
|
||||
make -j2 ARCH=x86-64-bmi2 build
|
||||
../tests/signature.sh $benchref
|
||||
|
||||
- name: Test x86-64-avx2 build
|
||||
if: matrix.config.run_64bit_tests && runner.os != 'macOS'
|
||||
if: matrix.config.run_64bit_tests
|
||||
run: |
|
||||
make clean
|
||||
make -j2 ARCH=x86-64-avx2 build
|
||||
@@ -279,6 +279,6 @@ jobs:
|
||||
if: matrix.config.run_64bit_tests
|
||||
run: |
|
||||
make clean
|
||||
make -j2 ARCH=x86-64-sse41-popcnt build
|
||||
make -j2 ARCH=x86-64-avx2 build
|
||||
../tests/perft.sh
|
||||
../tests/reprosearch.sh
|
||||
|
||||
Reference in New Issue
Block a user