Test premium Mac builders (#118672)
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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)'
|
||||||
|
|||||||
2
.github/workflows/reusable-macos.yml
vendored
2
.github/workflows/reusable-macos.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user