Skip to content

Commit cba5cee

Browse files
[3.11] CI: Test on macOS M1 (GH-114766) (#114835)
Test on macOS M1 (cherry picked from commit 854e2bc) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent ef2ba9a commit cba5cee

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/reusable-macos.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,27 @@ on:
1212
jobs:
1313
build_macos:
1414
name: 'build and test'
15-
runs-on: macos-latest
1615
timeout-minutes: 60
1716
env:
1817
HOMEBREW_NO_ANALYTICS: 1
1918
HOMEBREW_NO_AUTO_UPDATE: 1
2019
HOMEBREW_NO_INSTALL_CLEANUP: 1
2120
PYTHONSTRICTEXTENSIONBUILD: 1
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
os: [
25+
"macos-14", # M1
26+
"macos-13", # Intel
27+
]
28+
runs-on: ${{ matrix.os }}
2229
steps:
2330
- uses: actions/checkout@v4
2431
- name: Restore config.cache
2532
uses: actions/cache@v3
2633
with:
2734
path: config.cache
28-
key: ${{ github.job }}-${{ runner.os }}-${{ inputs.config_hash }}
35+
key: ${{ github.job }}-${{ matrix.os }}-${{ inputs.config_hash }}
2936
- name: Install Homebrew dependencies
3037
run: brew install pkg-config openssl@3.0 xz gdbm tcl-tk
3138
- name: Configure CPython

0 commit comments

Comments
 (0)