Skip to content

Commit

Permalink
workflows: update to macOS 14
Browse files Browse the repository at this point in the history
This gets us ARM64 testing and changes the Homebrew installation path.

Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
  • Loading branch information
bgilbert committed May 2, 2024
1 parent 19e5f2f commit 3550583
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3550583

Please sign in to comment.