|
41 | 41 | needs: pre-commit
|
42 | 42 | runs-on: ${{ matrix.os }}
|
43 | 43 | strategy:
|
| 44 | + # FIXME: for testing |
| 45 | + fail-fast: false |
44 | 46 | matrix:
|
45 |
| - os: [ubuntu-latest, macos-latest] |
| 47 | + os: [ubuntu-latest, ubuntu-24.04-aarch64, macos-latest] |
46 | 48 | python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13-dev"]
|
47 | 49 | openslide: [system, wheel]
|
48 | 50 | include:
|
@@ -93,11 +95,15 @@ jobs:
|
93 | 95 | run: |
|
94 | 96 | case "${{ matrix.os }}" in
|
95 | 97 | 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 |
97 | 103 | sudo apt-get install libopenslide0
|
98 | 104 | ;;
|
99 | 105 | macos-latest)
|
100 |
| - echo OS_TAG=macos >> $GITHUB_ENV |
| 106 | + echo OS_ARCH_TAG=macos-arm64-x86_64 >> $GITHUB_ENV |
101 | 107 | echo DYLD_LIBRARY_PATH=/opt/homebrew/lib >> $GITHUB_ENV
|
102 | 108 | brew install openslide
|
103 | 109 | ;;
|
@@ -151,7 +157,7 @@ jobs:
|
151 | 157 | if: env.archive_wheel
|
152 | 158 | uses: actions/upload-artifact@v4
|
153 | 159 | 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 }} |
155 | 161 | path: artifacts/whl
|
156 | 162 | compression-level: 0
|
157 | 163 |
|
@@ -223,7 +229,7 @@ jobs:
|
223 | 229 | if: env.archive_wheel
|
224 | 230 | uses: actions/upload-artifact@v4
|
225 | 231 | 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 }} |
227 | 233 | path: artifacts/whl
|
228 | 234 | compression-level: 0
|
229 | 235 |
|
|
0 commit comments