Skip to content

Commit f10a167

Browse files
authored
Merge pull request #269 from bgilbert/macos
workflows: update to macOS 14
2 parents 19e5f2f + 3550583 commit f10a167

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/python.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ${{ matrix.os }}
4343
strategy:
4444
matrix:
45-
os: [ubuntu-latest, macos-latest]
45+
os: [ubuntu-latest, macos-14]
4646
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
4747
include:
4848
- os: ubuntu-latest
@@ -52,10 +52,10 @@ jobs:
5252
# setup-python's Python 3.9 and 3.10 won't build them. Use the
5353
# last upstream patch releases that ship with installers.
5454
# https://github.com/actions/setup-python/issues/439#issuecomment-1247646682
55-
- os: macos-latest
55+
- os: macos-14
5656
python-version: "3.9"
5757
upstream-python: 3.9.13
58-
- os: macos-latest
58+
- os: macos-14
5959
python-version: "3.10"
6060
upstream-python: 3.10.11
6161
steps:
@@ -93,8 +93,9 @@ jobs:
9393
echo OS_TAG=linux >> $GITHUB_ENV
9494
sudo apt-get install libopenslide0
9595
;;
96-
macos-latest)
96+
macos-14)
9797
echo OS_TAG=macos >> $GITHUB_ENV
98+
echo DYLD_LIBRARY_PATH=/opt/homebrew/lib >> $GITHUB_ENV
9899
brew install openslide
99100
;;
100101
esac

0 commit comments

Comments
 (0)