Skip to content

Commit

Permalink
WIP: test on Linux aarch64
Browse files Browse the repository at this point in the history
- needs stable openslide-bin linux-aarch64 binaries
  • Loading branch information
bgilbert committed Sep 10, 2024
1 parent ef4b189 commit 9eb7f3e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 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, ubuntu-24.04-aarch64, macos-latest]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13-dev"]
openslide: [system, wheel]
include:
Expand Down Expand Up @@ -96,14 +96,21 @@ jobs:
echo OS_ARCH_TAG=linux-x86_64 >> $GITHUB_ENV
sudo apt-get install libopenslide0
;;
ubuntu-24.04-aarch64)
echo OS_ARCH_TAG=linux-aarch64 >> $GITHUB_ENV
sudo apt-get install libopenslide0
;;
macos-latest)
echo OS_ARCH_TAG=macos-arm64-x86_64 >> $GITHUB_ENV
echo DYLD_LIBRARY_PATH=/opt/homebrew/lib >> $GITHUB_ENV
brew install openslide
;;
esac
- name: Install OpenSlide (temp wheel)
if: matrix.openslide == 'wheel' && matrix.os == 'ubuntu-24.04-aarch64'
run: pip install 'https://fedorapeople.org/~bgilbert/openslide_bin-4.0.0.4+20240909.bin.pr.285.349.1.a6f0a9c.git-py3-none-manylinux_2_28_aarch64.whl'
- name: Install OpenSlide (wheel)
if: matrix.openslide == 'wheel'
if: matrix.openslide == 'wheel' && matrix.os != 'ubuntu-24.04-aarch64'
run: pip install openslide-bin
- name: Build dist
run: |
Expand Down

0 comments on commit 9eb7f3e

Please sign in to comment.