This repository was archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Added musllinux #271
Merged
Merged
Added musllinux #271
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
eee4a21
Added musllinux
radarhere ca8565e
Temporarily switch to multibuild fork
radarhere 2471dbd
Renamed Ubuntu builds to Linux
radarhere dc26810
Moved python config above platform
radarhere 1d53ac8
Run faster builds first
radarhere 19dd635
Exclude macOS builds rather than include
radarhere 0148bd8
Run faster builds first
radarhere 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
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,58 @@ | ||||||
| name: Build Ubuntu wheels | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought musllinux is built using Alpine, not Ubuntu? Perhaps call this Linux wheels?
Suggested change
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fair call. Ok, I've pushed a commit |
||||||
|
|
||||||
| on: | ||||||
| workflow_call: | ||||||
| inputs: | ||||||
| build-commit: | ||||||
| required: true | ||||||
| type: string | ||||||
| artifacts-name: | ||||||
| required: true | ||||||
| type: string | ||||||
|
|
||||||
| env: | ||||||
| REPO_DIR: Pillow | ||||||
| TEST_DEPENDS: "pytest pytest-timeout" | ||||||
|
|
||||||
| jobs: | ||||||
| build: | ||||||
| name: ${{ matrix.python }} ${{ matrix.mb-ml-libc }} ${{ matrix.platform }} | ||||||
| runs-on: "ubuntu-20.04" | ||||||
| strategy: | ||||||
| fail-fast: false | ||||||
| matrix: | ||||||
| python: [ "pypy3.7-7.3.8", "pypy3.8-7.3.8", "3.7", "3.8", "3.9", "3.10" ] | ||||||
| platform: [ "x86_64", "i686" ] | ||||||
| mb-ml-libc: [ "manylinux" ] | ||||||
| include: | ||||||
| - python: "3.8" | ||||||
| platform: "x86_64" | ||||||
| mb-ml-libc: "musllinux" | ||||||
| - python: "3.9" | ||||||
| platform: "x86_64" | ||||||
| mb-ml-libc: "musllinux" | ||||||
| - python: "3.10" | ||||||
| platform: "x86_64" | ||||||
| mb-ml-libc: "musllinux" | ||||||
| env: | ||||||
| BUILD_COMMIT: ${{ inputs.build-commit }} | ||||||
| PLAT: ${{ matrix.platform }} | ||||||
| MB_PYTHON_VERSION: ${{ matrix.python }} | ||||||
| MB_ML_LIBC: ${{ matrix.mb-ml-libc }} | ||||||
| steps: | ||||||
| - uses: actions/checkout@v3 | ||||||
| with: | ||||||
| submodules: true | ||||||
| - uses: actions/setup-python@v3 | ||||||
| with: | ||||||
| python-version: "3.10" | ||||||
| - name: Build Wheel | ||||||
| run: .github/workflows/build.sh | ||||||
| - uses: actions/upload-artifact@v3 | ||||||
| with: | ||||||
| name: ${{ inputs.artifacts-name }} | ||||||
| path: wheelhouse/*.whl | ||||||
| # Uncomment to get SSH access for testing | ||||||
| # - name: Setup tmate session | ||||||
| # if: failure() | ||||||
| # uses: mxschmitt/action-tmate@v3 | ||||||
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
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
Submodule multibuild
updated
3 files
| +2 −2 | README.rst | |
| +1 −0 | library_builders.sh | |
| +8 −3 | travis_linux_steps.sh |
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.