Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump macos #1462

Merged
merged 4 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
os: [ubuntu-20.04, windows-2019, macos-14]

steps:
- uses: actions/checkout@v3
Expand All @@ -38,14 +38,18 @@ jobs:

- uses: actions/setup-python@v3

- name: Install rust toolchains
if: startsWith(matrix.os, 'macOS')
run: rustup target install x86_64-apple-darwin aarch64-apple-darwin

- name: Install cibuildwheel
run: python -m pip install cibuildwheel

- name: Build wheels
uses: nick-fields/retry@v2
with:
max_attempts: 3
timeout_seconds: 36000 # 10 hours :/
max_attempts: 2
timeout_seconds: 54000 # 15 hours :/
command: python -m cibuildwheel --output-dir wheelhouse api/py

- uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions api/py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ RUSTC_WRAPPER=sccache

[tool.cibuildwheel.macos]
archs = "x86_64 universal2 arm64"
skip = "pp*"
before-build = """
python -m ensurepip --upgrade
pip install "numpy<2" --config-settings=setup-args="-Dallow-noblas=true"
Expand Down
Loading