-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2cd78cc
commit 3aeae67
Showing
3 changed files
with
18 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,20 +28,26 @@ jobs: | |
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [macos-latest, windows-latest, ubuntu-latest] | ||
os: [macos-latest, windows-latest, ubuntu-latest, macos-13] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
- name: Build wheels | ||
- name: Build wheels on non M1 macOS machine | ||
uses: pypa/[email protected] | ||
if: matrix.os != 'macos-latest' | ||
env: | ||
CIBW_ARCHS_MACOS: "x86_64 arm64" | ||
CIBW_ARCHS_MACOS: x86_64 | ||
CIBW_ARCHS_WINDOWS: AMD64 | ||
CIBW_ARCHS_LINUX: x86_64 | ||
- name: Build wheels on M1 macOS machine | ||
uses: pypa/[email protected] | ||
if: matrix.os == 'macos-latest' | ||
env: | ||
CIBW_ARCHS_MACOS: arm64 | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -65,7 +71,7 @@ jobs: | |
- name: Generate artifact attestation for sdist and wheels | ||
uses: actions/attest-build-provenance@v1 | ||
with: | ||
subject-path: "dist/*" | ||
subject-path: 'dist/*' | ||
- name: Publish package to pypi | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
|
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 |
---|---|---|
|
@@ -48,18 +48,18 @@ jobs: | |
run: python script.py version ${{ github.event.inputs.package_version }} | ||
- name: Build wheels on non M1 macOS machine | ||
uses: pypa/[email protected] | ||
if: ${{ matrix.os }} != 'macos-latest' | ||
if: matrix.os != 'macos-latest' | ||
env: | ||
CIBW_BUILD: cp312-* | ||
CIBW_ARCHS_MACOS: 'x86_64' | ||
CIBW_ARCHS_MACOS: x86_64 | ||
CIBW_ARCHS_WINDOWS: AMD64 | ||
CIBW_ARCHS_LINUX: x86_64 | ||
- name: Build wheels on M1 macOS machine | ||
uses: pypa/[email protected] | ||
if: ${{ matrix.os }} == 'macos-latest' | ||
if: matrix.os == 'macos-latest' | ||
env: | ||
CIBW_BUILD: cp312-* | ||
CIBW_ARCHS_MACOS: 'arm64' | ||
CIBW_ARCHS_MACOS: arm64 | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
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