Skip to content

Commit 2c71e35

Browse files
committed
update macos release: actions/setup-python#825
1 parent 1c0f827 commit 2c71e35

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

.github/workflows/release.yml

+28-8
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ jobs:
161161
runs-on: ${{ matrix.os }}
162162
strategy:
163163
matrix:
164-
os: ["windows-latest", "macos-latest"]
164+
os: ["windows-latest", "macos-13"]
165165
python-version: ["3.9", "3.10", "3.11", "3.12"]
166166
include:
167-
- os: "macos-latest"
167+
- os: "macos-13"
168168
features: "--features integrated-auth-gssapi"
169169
steps:
170170
- uses: actions/checkout@v4
@@ -280,18 +280,16 @@ jobs:
280280

281281
- uses: actions/upload-artifact@v4
282282
with:
283-
name: "macos-${{ matrix.python-version }}"
283+
name: "macos-arm-${{ matrix.python-version }}"
284284
path: connectorx-python/target/wheels/*.whl
285285

286286
verify:
287287
runs-on: ${{ matrix.os }}
288-
# do not verify for linux-aarch for now
289-
# needs: [win-and-mac, linux, linux-aarch, apple-arm]
290-
needs: [win-and-mac, linux, apple-arm]
288+
needs: [win-and-mac, linux]
291289
strategy:
292290
matrix:
293291
python-version: ["3.9", "3.10", "3.11", "3.12"]
294-
os: [macos-latest, ubuntu-latest, windows-latest]
292+
os: [macos-13, ubuntu-latest, windows-latest]
295293
steps:
296294
- uses: actions/checkout@v4
297295

@@ -308,9 +306,31 @@ jobs:
308306
pip install *.whl
309307
python -c "import connectorx"
310308
309+
verify-arm:
310+
runs-on: ${{ matrix.os }}
311+
needs: [apple-arm]
312+
strategy:
313+
matrix:
314+
python-version: ["3.9", "3.10", "3.11", "3.12"]
315+
os: [macos-latest]
316+
steps:
317+
- uses: actions/checkout@v4
318+
319+
- uses: actions/setup-python@v5
320+
with:
321+
python-version: ${{ matrix.python-version }}
322+
323+
- uses: actions/download-artifact@v4
324+
with:
325+
name: "macos-arm-${{ matrix.python-version }}"
326+
327+
- run: |
328+
pip install *.whl
329+
python -c "import connectorx"
330+
311331
upload:
312332
runs-on: ubuntu-latest
313-
needs: [verify]
333+
needs: [verify, verify-arm]
314334
steps:
315335
- name: Download all artifacts
316336
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)