File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed
Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -72,25 +72,40 @@ jobs:
7272 # name: wheels
7373 # path: dist
7474
75- macos :
75+ macos_x86 :
7676 runs-on : macos-latest
77- strategy :
78- matrix :
79- target : [x86_64, aarch64]
8077 steps :
8178 - uses : actions/checkout@v3
8279 - uses : actions/setup-python@v4
8380 with :
8481 python-version : ' 3.10'
8582 cache : " pip"
8683 - run : pip install -r requirements.txt
87- - name : Setup QEMU
88- uses : docker/setup-qemu-action@v1
89- if : ${{ matrix.target == 'aarch64' }}
9084 - name : Build wheels
9185 uses : PyO3/maturin-action@v1
9286 with :
93- target : ${{ matrix.target }}
87+ target : x86_64
88+ args : --release --out dist --find-interpreter
89+ sccache : ' true'
90+ - name : Upload wheels
91+ uses : actions/upload-artifact@v3
92+ with :
93+ name : wheels
94+ path : dist
95+
96+ macos_aarch64 :
97+ runs-on : macos-latest-large
98+ steps :
99+ - uses : actions/checkout@v3
100+ - uses : actions/setup-python@v4
101+ with :
102+ python-version : ' 3.10'
103+ cache : " pip"
104+ - run : pip install -r requirements.txt
105+ - name : Build wheels
106+ uses : PyO3/maturin-action@v1
107+ with :
108+ target : aarch64
94109 args : --release --out dist --find-interpreter
95110 sccache : ' true'
96111 - name : Upload wheels
You can’t perform that action at this time.
0 commit comments