https://github.com/python/cpython/commit/cba5cee0355e3c292791a4714adcf463b3371825
commit: cba5cee0355e3c292791a4714adcf463b3371825
branch: 3.11
author: Miss Islington (bot) <[email protected]>
committer: gpshead <[email protected]>
date: 2024-02-01T01:55:45Z
summary:

[3.11] CI: Test on macOS M1 (GH-114766) (#114835)

Test on macOS M1
(cherry picked from commit 854e2bc42340b22cdeea5d16ac8b1ef3762c6909)

Co-authored-by: Hugo van Kemenade <[email protected]>

files:
M .github/workflows/reusable-macos.yml

diff --git a/.github/workflows/reusable-macos.yml 
b/.github/workflows/reusable-macos.yml
index db42cedd6f9294..ac8fdb8677e2fa 100644
--- a/.github/workflows/reusable-macos.yml
+++ b/.github/workflows/reusable-macos.yml
@@ -12,20 +12,27 @@ on:
 jobs:
   build_macos:
     name: 'build and test'
-    runs-on: macos-latest
     timeout-minutes: 60
     env:
       HOMEBREW_NO_ANALYTICS: 1
       HOMEBREW_NO_AUTO_UPDATE: 1
       HOMEBREW_NO_INSTALL_CLEANUP: 1
       PYTHONSTRICTEXTENSIONBUILD: 1
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [
+          "macos-14",  # M1
+          "macos-13",  # Intel
+        ]
+    runs-on: ${{ matrix.os }}
     steps:
     - uses: actions/checkout@v4
     - name: Restore config.cache
       uses: actions/cache@v3
       with:
         path: config.cache
-        key: ${{ github.job }}-${{ runner.os }}-${{ inputs.config_hash }}
+        key: ${{ github.job }}-${{ matrix.os }}-${{ inputs.config_hash }}
     - name: Install Homebrew dependencies
       run: brew install pkg-config [email protected] xz gdbm tcl-tk
     - name: Configure CPython

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to