Skip to content

Commit 39cef80

Browse files
committed
WIP: test on Linux aarch64
- needs stable openslide-bin linux-aarch64 binaries
1 parent 6d469ff commit 39cef80

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/python.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ jobs:
4141
needs: pre-commit
4242
runs-on: ${{ matrix.os }}
4343
strategy:
44+
# FIXME: for testing
45+
fail-fast: false
4446
matrix:
45-
os: [ubuntu-latest, macos-latest]
47+
os: [ubuntu-latest, ubuntu-24.04-aarch64, macos-latest]
4648
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13-dev"]
4749
openslide: [system, wheel]
4850
include:
@@ -93,11 +95,15 @@ jobs:
9395
run: |
9496
case "${{ matrix.os }}" in
9597
ubuntu-latest)
96-
echo OS_TAG=linux >> $GITHUB_ENV
98+
echo OS_ARCH_TAG=linux-x86_64 >> $GITHUB_ENV
99+
sudo apt-get install libopenslide0
100+
;;
101+
ubuntu-24.04-aarch64)
102+
echo OS_ARCH_TAG=linux-aarch64 >> $GITHUB_ENV
97103
sudo apt-get install libopenslide0
98104
;;
99105
macos-latest)
100-
echo OS_TAG=macos >> $GITHUB_ENV
106+
echo OS_ARCH_TAG=macos-arm64-x86_64 >> $GITHUB_ENV
101107
echo DYLD_LIBRARY_PATH=/opt/homebrew/lib >> $GITHUB_ENV
102108
brew install openslide
103109
;;
@@ -151,7 +157,7 @@ jobs:
151157
if: env.archive_wheel
152158
uses: actions/upload-artifact@v4
153159
with:
154-
name: ${{ needs.pre-commit.outputs.dist-base }}-${{ env.OS_TAG }}-${{ matrix.python-version }}
160+
name: ${{ needs.pre-commit.outputs.dist-base }}-${{ env.OS_ARCH_TAG }}-${{ matrix.python-version }}
155161
path: artifacts/whl
156162
compression-level: 0
157163

@@ -223,7 +229,7 @@ jobs:
223229
if: env.archive_wheel
224230
uses: actions/upload-artifact@v4
225231
with:
226-
name: ${{ needs.pre-commit.outputs.dist-base }}-windows-${{ matrix.python-version }}
232+
name: ${{ needs.pre-commit.outputs.dist-base }}-windows-x64-${{ matrix.python-version }}
227233
path: artifacts/whl
228234
compression-level: 0
229235

0 commit comments

Comments
 (0)