Skip to content

Commit b58b934

Browse files
Merge pull request #483 from nyx-space/add-macos15-build
ci: add macos-15 to github workflow
2 parents b327832 + 6db0a49 commit b58b934

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

.github/workflows/python.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,41 @@ jobs:
211211
pip install pytest numpy
212212
pytest
213213
214+
macos-15:
215+
runs-on: macos-15
216+
steps:
217+
- uses: actions/checkout@v4
218+
with:
219+
lfs: true
220+
221+
- uses: actions/setup-python@v5
222+
with:
223+
python-version: "3.11"
224+
225+
- name: Build wheels
226+
uses: PyO3/maturin-action@v1
227+
with:
228+
target: aarch64
229+
args: --release --out dist --find-interpreter
230+
sccache: 'true'
231+
working-directory: anise-py
232+
233+
- name: Upload wheels
234+
uses: actions/upload-artifact@v4
235+
with:
236+
name: wheels-macos-15
237+
path: anise-py/dist
238+
239+
- name: pytest
240+
shell: bash
241+
env:
242+
RUST_BACKTRACE: 1
243+
run: |
244+
set -e
245+
pip install anise --find-links anise-py/dist --force-reinstall
246+
pip install pytest numpy
247+
pytest
248+
214249
sdist:
215250
runs-on: ubuntu-latest
216251
steps:
@@ -242,7 +277,7 @@ jobs:
242277
name: Release
243278
runs-on: ubuntu-latest
244279
if: github.ref_type == 'tag'
245-
needs: [linux, windows, macos-13, macos-14, sdist]
280+
needs: [linux, windows, macos-13, macos-14, macos-15, sdist]
246281
steps:
247282
- uses: actions/download-artifact@v4 # No `name` to download all artifacts.
248283
with:

0 commit comments

Comments
 (0)