Add Apple Silicon Runners to CI

GitHub CI runners are available for macOS 14, these runners are using apple silicon chips (M1).
https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

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

No functional change
This commit is contained in:
Disservin
2024-01-31 22:47:02 +01:00
committed by Joost VandeVondele
parent 16afec0582
commit 3cce4c4cf4
3 changed files with 77 additions and 8 deletions
+18 -4
View File
@@ -43,16 +43,16 @@ jobs:
compiler: g++
comp: gcc
run_riscv64_tests: true
base_image: 'riscv64/alpine:edge'
platform: linux/riscv64
base_image: "riscv64/alpine:edge"
platform: linux/riscv64
shell: bash
- name: Linux GCC ppc64
os: ubuntu-22.04
compiler: g++
comp: gcc
run_ppc64_tests: true
base_image: 'ppc64le/alpine:latest'
platform: linux/ppc64le
base_image: "ppc64le/alpine:latest"
platform: linux/ppc64le
shell: bash
- name: MacOS 13 Apple Clang
os: macos-13
@@ -60,6 +60,13 @@ jobs:
comp: clang
run_64bit_tests: true
shell: bash
- name: MacOS 14 Apple Clang M1
os: macos-14
compiler: clang++
comp: clang
run_64bit_tests: false
run_m1_tests: true
shell: bash
- name: MacOS 13 GCC 11
os: macos-13
compiler: g++-11
@@ -281,6 +288,13 @@ jobs:
make -j2 ARCH=general-64 build
../tests/signature.sh $benchref
- name: Test apple-silicon build
if: matrix.config.run_m1_tests
run: |
make clean
make -j2 ARCH=apple-silicon build
../tests/signature.sh $benchref
# armv8 tests
- name: Test armv8 build