-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated wheel build process for new location
- Loading branch information
Showing
13 changed files
with
91 additions
and
139 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
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 |
---|---|---|
@@ -1,6 +1,20 @@ | ||
name: Wheels | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
on: | ||
push: | ||
paths: | ||
- ".github/workflows/wheels*.yml" | ||
- "wheels/*" | ||
tags: | ||
- "*" | ||
pull_request: | ||
paths: | ||
- ".github/workflows/wheels*.yml" | ||
- "wheels/*" | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
@@ -10,46 +24,17 @@ jobs: | |
macos: | ||
uses: ./.github/workflows/wheels-macos.yml | ||
with: | ||
build-commit: "HEAD" | ||
artifacts-name: "wheels" | ||
|
||
linux: | ||
uses: ./.github/workflows/wheels-linux.yml | ||
with: | ||
build-commit: "HEAD" | ||
artifacts-name: "wheels" | ||
|
||
macos-latest: | ||
if: "!startsWith(github.ref, 'refs/tags/')" | ||
uses: ./.github/workflows/wheels-macos.yml | ||
with: | ||
build-commit: "main" | ||
artifacts-name: "wheels-latest" | ||
|
||
linux-latest: | ||
if: "!startsWith(github.ref, 'refs/tags/')" | ||
uses: ./.github/workflows/wheels-linux.yml | ||
with: | ||
build-commit: "main" | ||
artifacts-name: "wheels-latest" | ||
|
||
release: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
if: "startsWith(github.ref, 'refs/tags/')" | ||
needs: [macos, linux] | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: wheels | ||
- name: Upload Release | ||
uses: fnkr/[email protected] | ||
env: | ||
GHR_PATH: . | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
success: | ||
needs: [macos, linux, macos-latest, linux-latest] | ||
permissions: | ||
contents: none | ||
needs: [macos, linux] | ||
runs-on: ubuntu-latest | ||
name: Wheels Successful | ||
steps: | ||
|
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 |
---|---|---|
|
@@ -29,3 +29,4 @@ global-exclude .git* | |
global-exclude *.pyc | ||
global-exclude *.so | ||
prune .ci | ||
prune wheels |
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
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
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,31 @@ | ||
README | ||
------ | ||
|
||
This directory creates wheels for tagged versions of Pillow. | ||
|
||
Archives | ||
-------- | ||
|
||
https://github.com/python-pillow/pillow-depends contains archives for libraries | ||
that will be built as part of the Pillow build. | ||
|
||
In general, there is no need to put library archives there, because the | ||
`multibuild` scripts will download them from their respective URLs. | ||
|
||
But, the build will look in that repository before downloading from the | ||
URL, so if there is a library that often fails to download, or you think might | ||
fail to download, then download it and add it to the Git repository. | ||
|
||
See the `pre_build` in `config.sh` and the `fetch_unpack` routine in | ||
`multibuild/common_utils.sh` for the logic, and the build recipes in | ||
`multibuild/library_builders.sh` for the filename to give to the downloaded | ||
archive. | ||
|
||
Wheels | ||
------ | ||
|
||
Wheels are | ||
[GitHub Actions artifacts created for tags, relevant changes or manual builds](https://github.com/python-pillow/Pillow/actions/workflows/wheels.yml). | ||
|
||
Windows wheels are not created here. Instead, they are | ||
[GitHub Actions artifacts created on each run of the Pillow repository](https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml?query=branch%3Amain). |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.