From f185d689989a661cf77e22471a56277f61a18dd5 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Fri, 11 Nov 2022 13:48:30 -0800 Subject: [PATCH] .github/workflows/ci-macos.yml: Update tested macos versions, remove test of outdated python from python.org --- .github/workflows/ci-macos.yml | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index d2df2268199..1921fc0d066 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -42,12 +42,8 @@ jobs: # python3_xcode is only accepted if enough packages are available from the system # --> to test "minimal", we would need https://trac.sagemath.org/ticket/30949 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] - # As of 2021-12, default xcode - # - on macos-10.15: 12.4 - # - on macos-latest (= macos-11): 13.1 - # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode xcode_version_factor: [default] - os: [ macos-10.15, macos-latest ] + os: [ macos-11, macos-12 ] env: TOX_ENV: local-${{ matrix.tox_env }} 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: fail-fast: false max-parallel: 4 matrix: - os: [ macos-10.15, macos-11.0 ] - tox_system_factor: [macos-nobootstrap, macos-nobootstrap-python3_pythonorg] + os: [ macos-11, macos-12 ] + tox_system_factor: [macos-nobootstrap] tox_packages_factor: [minimal] - # As of 2021-03, default is 12.4 - # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode xcode_version_factor: [default] - include: - # Test xcode 11.7 only on macos-10.15 - - tox_system_factor: macos-nobootstrap - tox_packages_factor: minimal - xcode_version_factor: 11.7 - os: macos-10.15 - - tox_system_factor: macos-nobootstrap-python3_pythonorg - tox_packages_factor: minimal - xcode_version_factor: 11.7 - os: macos-10.15 env: TOX_ENV: local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }} 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: - name: Install test prerequisites run: | sudo /usr/bin/python3 -m pip install tox - - name: Install python3 from python.org - # As of 2020-03-30 (https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md), - # Python 3.7.7 is installed on GitHub Actions runners. But we install our own copy from the python.org binary package. - run: | - curl -o python3.pkg https://www.python.org/ftp/python/3.7.7/python-3.7.7-macosx10.9.pkg - sudo installer -verbose -pkg python3.pkg -target / - if: contains(matrix.tox_system_factor, 'python3_pythonorg') - name: Build and test with tox # We use a high parallelization on purpose in order to catch possible parallelization bugs in the build scripts. # For doctesting, we use a lower parallelization to avoid timeouts.