]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Test premium Mac builders (#118672)
authorŁukasz Langa <lukasz@langa.pl>
Mon, 6 May 2024 22:08:17 +0000 (00:08 +0200)
committerGitHub <noreply@github.com>
Mon, 6 May 2024 22:08:17 +0000 (00:08 +0200)
.github/workflows/build.yml
.github/workflows/reusable-macos.yml
Lib/test/test_pyrepl.py

index aac395d5638750e56289edfb631628dafeb8da06..7d9e70a68005e3a8ab652d0eeca6b3efdc0f402e 100644 (file)
@@ -208,7 +208,7 @@ jobs:
     with:
       config_hash: ${{ needs.check_source.outputs.config_hash }}
       # macos-14 is M1, macos-13 is Intel
-      os-matrix: '["macos-14", "macos-13"]'
+      os-matrix: '["macos-14-xlarge", "macos-13-large"]'
 
   build_macos_free_threading:
     name: 'macOS (free-threading)'
index e3319f141bd7f5bce2b635ccddb836627fc97c57..d06a718d199c96de1284df3e91cb5fe45b57df45 100644 (file)
@@ -50,7 +50,7 @@ jobs:
           --prefix=/opt/python-dev \
           --with-openssl="$(brew --prefix openssl@3.0)"
     - name: Build CPython
-      run: make -j4
+      run: make -j8
     - name: Display build info
       run: make pythoninfo
     - name: Tests
index 2b217abdf1543b4514912a58247d3ef4f610fb9d..3df76e02b231dc21cef71b52dead3fbcd719e257 100644 (file)
@@ -15,9 +15,9 @@ from test.support.import_helper import import_module
 # Optionally test pyrepl.  This currently requires that the
 # 'curses' resource be given on the regrtest command line using the -u
 # option.  Additionally, we need to attempt to import curses and readline.
-requires('curses')
-curses = import_module('curses')
-readline = import_module('readline')
+requires("curses")
+curses = import_module("curses")
+readline = import_module("readline")
 
 from _pyrepl.console import Console, Event
 from _pyrepl.readline import ReadlineAlikeReader, ReadlineConfig