From d675c3ebb0436109b23ef10c7c7df6b601ce591e Mon Sep 17 00:00:00 2001 From: "A. Riddell" Date: Fri, 26 May 2023 13:39:30 -0600 Subject: [PATCH] ci(macos): Remove unsupported macos 10.15 runner Use macos-11 runner instead. --- .github/workflows/wheels.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d042378..2e2f717 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: python-version: [3.8, 3.9, "3.10", "3.11"] - os: [ubuntu-20.04, macos-10.15] + os: [ubuntu-20.04, macos-11] platform: [x64] env: REPO_DIR: httpstan @@ -53,9 +53,9 @@ jobs: pip install virtualenv - name: Set multibuild environment variables run: | - if [ "macos-10.15" == "${{ matrix.os }}" ]; then echo "PLAT=x86_64" >> $GITHUB_ENV; fi - if [ "macos-10.15" == "${{ matrix.os }}" ]; then echo "ARCHFLAGS=-arch x86_64" >> $GITHUB_ENV; fi - if [ "macos-10.15" == "${{ matrix.os }}" ]; then echo "MB_PYTHON_OSX_VER=10.9" >> $GITHUB_ENV; fi + if [ "macos-11" == "${{ matrix.os }}" ]; then echo "PLAT=x86_64" >> $GITHUB_ENV; fi + if [ "macos-11" == "${{ matrix.os }}" ]; then echo "ARCHFLAGS=-arch x86_64" >> $GITHUB_ENV; fi + if [ "macos-11" == "${{ matrix.os }}" ]; then echo "MB_PYTHON_OSX_VER=10.9" >> $GITHUB_ENV; fi - name: Use most recent tag as BUILD_COMMIT run: echo "BUILD_COMMIT=$(cd httpstan && git tag --sort version:refname | tail -1)" >> $GITHUB_ENV - name: Print environment variables