Show More
@@ -1,42 +1,29 b'' | |||
|
1 | # Workflow to build and test wheels. | |
|
2 | # To work on the wheel building infrastructure on a fork, comment out: | |
|
3 | # | |
|
4 | # if: github.repository == 'numpy/numpy' | |
|
5 | # | |
|
6 | # in the get_commit_message job. Be sure to include [wheel build] in your commit | |
|
7 | # message to trigger the build. All files related to wheel building are located | |
|
8 | # at tools/wheels/ | |
|
9 | # Alternatively, you can add labels to the pull request in order to trigger wheel | |
|
10 | # builds. | |
|
11 | # The labels that trigger builds are: | |
|
12 | # 36 - Build(for changes to the building process, | |
|
13 | # 14 - Release(ensure wheels build before release) | |
|
14 | 1 |
|
|
15 | 2 | workflow_dispatch: |
|
16 | 3 | name: Nightly Wheel builder |
|
17 | 4 | |
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
5 | upload_anaconda: | |
|
6 | name: Upload to Anaconda | |
|
7 | runs-on: ubuntu-latest | |
|
8 | # The artifacts cannot be uploaded on PRs | |
|
9 | if: github.event_name != 'pull_request' | |
|
23 | 10 | |
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
11 | steps: | |
|
12 | - uses: actions/checkout@v3 | |
|
13 | - name: Set up Python | |
|
14 | uses: actions/setup-python@v4 | |
|
15 | with: | |
|
16 | python-version: "3.10" | |
|
17 | cache: pip | |
|
18 | cache-dependency-path: | | |
|
19 | setup.cfg | |
|
20 | - name: Try building with Python build | |
|
21 | if: runner.os != 'Windows' # setup.py does not support sdist on Windows | |
|
22 | run: | | |
|
23 | python -m build | |
|
37 | 24 | |
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
25 | - name: Upload wheel | |
|
26 | uses: scientific-python/upload-nightly-wheel | |
|
27 | with: | |
|
28 | artifact-names: dist/*.whl | |
|
29 | anaconda-nightly-upload-token: ${secrets.UPLOAD_TOKEN} |
General Comments 0
You need to be logged in to leave comments.
Login now