Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilbert committed Nov 1, 2023
1 parent 16e10ce commit 3d213c3
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ jobs:
curl -Lfo "$pkg" \
"https://www.python.org/ftp/python/${{ matrix.upstream-python }}/python-${{ matrix.upstream-python }}-macos11.pkg"
sudo installer -pkg "$pkg" -target /
export PATH="/usr/local/bin:$PATH"
python -V
pip -V
echo "PATH=$PATH" >> $GITHUB_ENV
- name: Install Python tools
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -89,12 +91,16 @@ jobs:
auditwheel repair --only-plat -w dist old/*whl
;;
macos-*)
if [ ! -e dist/*universal2* ]; then
echo "Wheel is not universal:"
ls dist
exit 1
fi
;;
case "${{ matrix.python-version }}" in
3.8) ;; # no universal support
*)
if [ ! -e dist/*universal2* ]; then
echo "Wheel is not universal:"
ls dist
exit 1
fi
;;
esac
esac
basename=openslide-python-wheels-$GITHUB_RUN_NUMBER-$(echo $GITHUB_SHA | cut -c-10)
mkdir -p "artifacts/${basename}"
Expand Down

0 comments on commit 3d213c3

Please sign in to comment.