Test premium Mac builders (#118672)

This commit is contained in:
Łukasz Langa
2024-05-07 00:08:17 +02:00
committed by GitHub
parent 2ba2c142a6
commit 9fd33af5ac
3 changed files with 5 additions and 5 deletions

View File

@@ -208,7 +208,7 @@ jobs:
with: with:
config_hash: ${{ needs.check_source.outputs.config_hash }} config_hash: ${{ needs.check_source.outputs.config_hash }}
# macos-14 is M1, macos-13 is Intel # 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: build_macos_free_threading:
name: 'macOS (free-threading)' name: 'macOS (free-threading)'

View File

@@ -50,7 +50,7 @@ jobs:
--prefix=/opt/python-dev \ --prefix=/opt/python-dev \
--with-openssl="$(brew --prefix openssl@3.0)" --with-openssl="$(brew --prefix openssl@3.0)"
- name: Build CPython - name: Build CPython
run: make -j4 run: make -j8
- name: Display build info - name: Display build info
run: make pythoninfo run: make pythoninfo
- name: Tests - name: Tests

View File

@@ -15,9 +15,9 @@ from test.support.import_helper import import_module
# Optionally test pyrepl. This currently requires that the # Optionally test pyrepl. This currently requires that the
# 'curses' resource be given on the regrtest command line using the -u # 'curses' resource be given on the regrtest command line using the -u
# option. Additionally, we need to attempt to import curses and readline. # option. Additionally, we need to attempt to import curses and readline.
requires('curses') requires("curses")
curses = import_module('curses') curses = import_module("curses")
readline = import_module('readline') readline = import_module("readline")
from _pyrepl.console import Console, Event from _pyrepl.console import Console, Event
from _pyrepl.readline import ReadlineAlikeReader, ReadlineConfig from _pyrepl.readline import ReadlineAlikeReader, ReadlineConfig