Skip to content

Commit 9eb7f3e

Browse files
committed
WIP: test on Linux aarch64
- needs stable openslide-bin linux-aarch64 binaries
1 parent ef4b189 commit 9eb7f3e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/python.yml

Lines changed: 9 additions & 2 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, ubuntu-24.04-aarch64, macos-latest]
4646
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13-dev"]
4747
openslide: [system, wheel]
4848
include:
@@ -96,14 +96,21 @@ jobs:
9696
echo OS_ARCH_TAG=linux-x86_64 >> $GITHUB_ENV
9797
sudo apt-get install libopenslide0
9898
;;
99+
ubuntu-24.04-aarch64)
100+
echo OS_ARCH_TAG=linux-aarch64 >> $GITHUB_ENV
101+
sudo apt-get install libopenslide0
102+
;;
99103
macos-latest)
100104
echo OS_ARCH_TAG=macos-arm64-x86_64 >> $GITHUB_ENV
101105
echo DYLD_LIBRARY_PATH=/opt/homebrew/lib >> $GITHUB_ENV
102106
brew install openslide
103107
;;
104108
esac
109+
- name: Install OpenSlide (temp wheel)
110+
if: matrix.openslide == 'wheel' && matrix.os == 'ubuntu-24.04-aarch64'
111+
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'
105112
- name: Install OpenSlide (wheel)
106-
if: matrix.openslide == 'wheel'
113+
if: matrix.openslide == 'wheel' && matrix.os != 'ubuntu-24.04-aarch64'
107114
run: pip install openslide-bin
108115
- name: Build dist
109116
run: |

0 commit comments

Comments
 (0)