-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into skip-musl-ppc
- Loading branch information
Showing
4 changed files
with
37 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
os: [ubuntu-latest, windows-latest, macos-latest, macos-14] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
|
@@ -56,7 +56,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@stable | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -70,7 +70,7 @@ jobs: | |
environment: release | ||
permissions: | ||
id-token: write | ||
needs: ["build_wheels", "build-mac-arm-wheels", "build-win32-wheels"] | ||
needs: ["build_wheels", "build-win32-wheels"] | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
|
@@ -103,7 +103,7 @@ jobs: | |
platforms: all | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -140,7 +140,7 @@ jobs: | |
platforms: all | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -177,7 +177,7 @@ jobs: | |
platforms: all | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -215,7 +215,7 @@ jobs: | |
platforms: all | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -253,7 +253,7 @@ jobs: | |
platforms: all | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -290,7 +290,7 @@ jobs: | |
platforms: all | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -327,7 +327,7 @@ jobs: | |
platforms: all | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -364,7 +364,7 @@ jobs: | |
platforms: all | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
@@ -378,23 +378,6 @@ jobs: | |
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: wheelhouse/ | ||
build-mac-arm-wheels: | ||
name: Build wheels on macos for arm and universal2 | ||
runs-on: macos-latest | ||
environment: release | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build wheels | ||
uses: joerick/[email protected] | ||
env: | ||
CIBW_BEFORE_ALL: rustup target add aarch64-apple-darwin | ||
CIBW_ARCHS_MACOS: arm64 universal2 | ||
CIBW_BEFORE_BUILD: pip install -U setuptools-rust | ||
CIBW_ENVIRONMENT: CARGO_BUILD_TARGET="aarch64-apple-darwin" PYO3_CROSS_LIB_DIR="/Library/Frameworks/Python.framework/Versions/$(python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))')/lib/python$(python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))')" | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
name: shared-wheel-builds | ||
build-win32-wheels: | ||
name: Build wheels on win32 | ||
runs-on: windows-latest | ||
|
@@ -413,7 +396,7 @@ jobs: | |
run: rustup default stable-i686-pc-windows-msvc | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel==2.16.2 | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build wheels | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
releasenotes/notes/arm64-macos-tier-1-6be760ee2ac3975d.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
other: | ||
- | | ||
Support for the arm64 macOS platform has been promoted from :ref:`tier-4` | ||
to :ref:`tier-1`. Previously the platform was at :ref:`tier-4` because | ||
there was no available CI environment for testing rustworkx on the platform. | ||
Now that Github has made an arm64 macOS environment available to open source | ||
projects [#]_ we're testing the platform along with the other :ref:`tier-1` | ||
supported platforms. | ||
.. [#] https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/ | ||