4242 # python3_xcode is only accepted if enough packages are available from the system
4343 # --> to test "minimal", we would need https://trac.sagemath.org/ticket/30949
4444 tox_env : [homebrew-macos-usrlocal-minimal, homebrew-macos-usrlocal-standard, homebrew-macos-usrlocal-maximal, homebrew-macos-usrlocal-python3_xcode-standard, conda-forge-macos-minimal, conda-forge-macos-standard, conda-forge-macos-maximal]
45- # As of 2021-12, default xcode
46- # - on macos-10.15: 12.4
47- # - on macos-latest (= macos-11): 13.1
48- # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
4945 xcode_version_factor : [default]
50- os : [ macos-10.15 , macos-latest ]
46+ os : [ macos-11 , macos-12 ]
5147 env :
5248 TOX_ENV : local-${{ matrix.tox_env }}
5349 LOCAL_ARTIFACT_NAME : sage-local-commit-${{ github.sha }}-tox-local-${{ matrix.tox_env }}-${{ matrix.os }}-xcode_${{ matrix.xcode_version_factor }}
@@ -158,22 +154,10 @@ jobs:
158154 fail-fast : false
159155 max-parallel : 4
160156 matrix :
161- os : [ macos-10.15 , macos-11.0 ]
162- tox_system_factor : [macos-nobootstrap, macos-nobootstrap-python3_pythonorg ]
157+ os : [ macos-11 , macos-12 ]
158+ tox_system_factor : [macos-nobootstrap]
163159 tox_packages_factor : [minimal]
164- # As of 2021-03, default is 12.4
165- # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
166160 xcode_version_factor : [default]
167- include :
168- # Test xcode 11.7 only on macos-10.15
169- - tox_system_factor : macos-nobootstrap
170- tox_packages_factor : minimal
171- xcode_version_factor : 11.7
172- os : macos-10.15
173- - tox_system_factor : macos-nobootstrap-python3_pythonorg
174- tox_packages_factor : minimal
175- xcode_version_factor : 11.7
176- os : macos-10.15
177161 env :
178162 TOX_ENV : local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}
179163 LOGS_ARTIFACT_NAME : logs-commit-${{ github.sha }}-tox-local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}-xcode_${{ matrix.xcode_version_factor }}
@@ -198,13 +182,6 @@ jobs:
198182 - name : Install test prerequisites
199183 run : |
200184 sudo /usr/bin/python3 -m pip install tox
201- - name : Install python3 from python.org
202- # As of 2020-03-30 (https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md),
203- # Python 3.7.7 is installed on GitHub Actions runners. But we install our own copy from the python.org binary package.
204- run : |
205- curl -o python3.pkg https://www.python.org/ftp/python/3.7.7/python-3.7.7-macosx10.9.pkg
206- sudo installer -verbose -pkg python3.pkg -target /
207- if : contains(matrix.tox_system_factor, 'python3_pythonorg')
208185 - name : Build and test with tox
209186 # We use a high parallelization on purpose in order to catch possible parallelization bugs in the build scripts.
210187 # For doctesting, we use a lower parallelization to avoid timeouts.
0 commit comments