CI: test for macOS g++ pretending to be clang++

Avoids compilation errors on macOS by ensuring flags specific to g++ are
applied to actual g++

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

No functional change
This commit is contained in:
Linmiao Xu
2026-04-09 21:53:08 +02:00
committed by Disservin
parent a42d328f21
commit 93ba8fb35e
+7
View File
@@ -306,6 +306,13 @@ jobs:
make -j4 ARCH=apple-silicon build
../tests/signature.sh $benchref
- name: Test apple-silicon build with system g++ (macOS g++ == clang++)
if: matrix.config.run_m1_tests
run: |
make clean
env -u COMPCXX make -j4 ARCH=apple-silicon build COMP=gcc
../tests/signature.sh $benchref
# armv8 tests
- name: Test armv8 build