-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[next] Wheel build fixes: manylinux1, trigger upload on release, Linux AArch64... #2444
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
463047f
Add AArch64 linux build again.
Rot127 ec4d3ac
Enable package build also for PRs and pushes.
Rot127 4a21d82
Fix: don't append python version to injected platform name.
Rot127 a954150
Add musllinux build to wheel checking script
Rot127 df87c44
Trigger wheel upload only on published full-releases.
Rot127 7ac5e88
Remove duplicate workflow file
Rot127 bb56adb
Ensure all artifacts are moved to the same directory 'dist'
Rot127 43cc570
Enable verbose twine upload.
Rot127 83ddf55
Add step to show downloaded artifacts for debugging.
Rot127 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: RELEASE BUILD - PyPI 📦 Distribution | ||
|
||
on: [release, workflow_dispatch] | ||
on: [push, pull_request, release, workflow_dispatch] | ||
|
||
jobs: | ||
build_wheels: | ||
|
@@ -26,7 +26,7 @@ jobs: | |
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64" | ||
CIBW_ARCHS_LINUX: "x86_64 i686" # ppc64le s390x really slow | ||
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64" # ppc64le s390x really slow | ||
CIBW_ARCHS_WINDOWS: "AMD64" # ARM64 Seems ARM64 will rebuild amd64 wheel for unknow reason. | ||
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*" | ||
CIBW_SKIP: "" | ||
|
@@ -69,17 +69,22 @@ jobs: | |
publish: | ||
needs: [build_wheels] | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags') | ||
if: github.event_name == 'release' && github.event.prerelease == false && github.event.action == 'published' | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
merge-multiple: true | ||
path: dist | ||
|
||
- name: Show downloaded artifacts | ||
run: ls -laR dist | ||
|
||
- name: Publish distribution 📦 to PyPI | ||
if: ${{ success() }} | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
verbose: true | ||
user: __token__ | ||
password: ${{ secrets.pypi_pass }} |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.