diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 514bf57d..96b984b7 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -42,7 +42,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-14] python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] include: - os: ubuntu-latest @@ -52,10 +52,10 @@ jobs: # setup-python's Python 3.9 and 3.10 won't build them. Use the # last upstream patch releases that ship with installers. # https://github.com/actions/setup-python/issues/439#issuecomment-1247646682 - - os: macos-latest + - os: macos-14 python-version: "3.9" upstream-python: 3.9.13 - - os: macos-latest + - os: macos-14 python-version: "3.10" upstream-python: 3.10.11 steps: @@ -93,8 +93,9 @@ jobs: echo OS_TAG=linux >> $GITHUB_ENV sudo apt-get install libopenslide0 ;; - macos-latest) + macos-14) echo OS_TAG=macos >> $GITHUB_ENV + echo DYLD_LIBRARY_PATH=/opt/homebrew/lib >> $GITHUB_ENV brew install openslide ;; esac