Skip to content

Commit

Permalink
fix macos (makslevental#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental authored Dec 29, 2024
1 parent ba6af25 commit 0d72e05
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
fail-fast: false
matrix:
os: [ ubuntu-22.04, macos-12, macos-14 ]
os: [ ubuntu-22.04, macos-13, macos-14, macos-15 ]
py_version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]

exclude:
- os: macos-12
- os: macos-13
py_version: "3.8"

- os: macos-12
- os: macos-13
py_version: "3.9"

- os: macos-14
Expand All @@ -51,6 +51,12 @@ jobs:
- os: macos-14
py_version: "3.9"

- os: macos-15
py_version: "3.8"

- os: macos-15
py_version: "3.9"

defaults:
run:
shell: bash
Expand Down Expand Up @@ -106,10 +112,12 @@ jobs:
if [ x"${{ matrix.OS }}" == x"ubuntu-22.04" ]; then
CIBW_ARCHS=x86_64
elif [ x"${{ matrix.OS }}" == x"macos-12" ]; then
elif [ x"${{ matrix.OS }}" == x"macos-13" ]; then
CIBW_ARCHS=x86_64
elif [ x"${{ matrix.OS }}" == x"macos-14" ]; then
CIBW_ARCHS=arm64
elif [ x"${{ matrix.OS }}" == x"macos-15" ]; then
CIBW_ARCHS=arm64
fi
export CIBW_ARCHS
Expand Down
10 changes: 6 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
numpy>=1.19.5, <=1.26
pybind11>=2.9.0, <=2.10.3
PyYAML>=5.3.1, <=6.0.1
nanobind>=2.4, <3.0
numpy>=1.19.5, <=2.1.2
pybind11>=2.10.0, <=2.13.6
PyYAML>=5.4.0, <=6.0.1
ml_dtypes>=0.1.0, <=0.5.0
cmake-format
lit
lit

0 comments on commit 0d72e05

Please sign in to comment.