Skip to content

Commit de6d37a

Browse files
committed
chore: try another upload-test
1 parent 66a88ae commit de6d37a

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/upload-test.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
target: [aarch64]
12+
target: [x86_64, aarch64]
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-python@v5
@@ -54,7 +54,27 @@ jobs:
5454
- name: List linux dist directory contents
5555
run: ls -l dist || echo "dist directory does not exist or is empty"
5656

57+
macos_aarch64:
58+
runs-on: macos-latest-large
5759

60+
steps:
61+
- uses: actions/checkout@v4
62+
- uses: actions/setup-python@v5
63+
with:
64+
python-version: '3.10'
65+
cache: "pip"
66+
- run: pip install -r requirements.txt
67+
- name: Build wheels
68+
uses: PyO3/maturin-action@v1
69+
with:
70+
target: aarch64
71+
args: --release --out dist --find-interpreter
72+
sccache: 'true'
73+
- name: Upload wheels
74+
uses: actions/upload-artifact@v4
75+
with:
76+
name: wheels-mac-aarch64
77+
path: dist
5878

5979
sdist:
6080
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)