-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restore wheels build, update release instructions
- Loading branch information
1 parent
b3cbeff
commit 1effbf5
Showing
5 changed files
with
68 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,50 +26,50 @@ jobs: | |
- id: tag | ||
run: echo "::set-output name=out::$(python .ci/get_tag.py)" | ||
|
||
# wheels: | ||
# needs: release_check | ||
# name: ${{ matrix.py }} ${{ matrix.os }} ${{ matrix.arch }} | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# os: [ubuntu-latest, windows-latest, macos-latest] | ||
# arch: [auto, aarch64] | ||
# py: [cp36, cp37, cp38, cp39, cp310] | ||
# include: | ||
# - os: macos-latest | ||
# py: cp38 | ||
# arch: universal2 | ||
# - os: macos-latest | ||
# py: cp39 | ||
# arch: universal2 | ||
# - os: macos-latest | ||
# py: cp310 | ||
# arch: universal2 | ||
# exclude: | ||
# - os: windows-latest | ||
# arch: aarch64 | ||
# - os: macos-latest | ||
# arch: aarch64 | ||
# env: | ||
# CIBW_BUILD: ${{ matrix.py }}-* | ||
# CIBW_ARCHS_LINUX: ${{ matrix.arch }} | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# with: | ||
# submodules: true | ||
|
||
# - if: ${{ matrix.arch == 'aarch64' }} | ||
# uses: docker/setup-qemu-action@v1 | ||
|
||
# - uses: pypa/[email protected] | ||
# env: | ||
# CIBW_BUILD: ${{ matrix.py }}-* | ||
# CIBW_ARCHS: ${{ matrix.arch }} | ||
|
||
# - uses: actions/upload-artifact@v2 | ||
# with: | ||
# path: ./wheelhouse/*.whl | ||
wheels: | ||
needs: release_check | ||
name: ${{ matrix.py }} ${{ matrix.os }} ${{ matrix.arch }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
arch: [auto, aarch64] | ||
py: [cp36, cp37, cp38, cp39, cp310] | ||
include: | ||
- os: macos-latest | ||
py: cp38 | ||
arch: universal2 | ||
- os: macos-latest | ||
py: cp39 | ||
arch: universal2 | ||
- os: macos-latest | ||
py: cp310 | ||
arch: universal2 | ||
exclude: | ||
- os: windows-latest | ||
arch: aarch64 | ||
- os: macos-latest | ||
arch: aarch64 | ||
env: | ||
CIBW_BUILD: ${{ matrix.py }}-* | ||
CIBW_ARCHS_LINUX: ${{ matrix.arch }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- if: ${{ matrix.arch == 'aarch64' }} | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: ${{ matrix.py }}-* | ||
CIBW_ARCHS: ${{ matrix.arch }} | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
|
||
sdist: | ||
needs: release_check | ||
|
@@ -97,8 +97,7 @@ jobs: | |
path: dist/*.tar.gz | ||
|
||
upload: | ||
# needs: [wheels, sdist] | ||
needs: [sdist] | ||
needs: [wheels, sdist] | ||
runs-on: ubuntu-latest | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
steps: | ||
|
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
How to make a release | ||
===================== | ||
|
||
- Sync local `master` and `develop` with Github | ||
- `for x in master develop; git checkout $x; git pull` | ||
- On `develop` branch | ||
- Update `src/iminuit/version.py` to the release version | ||
- For a beta release, add `.betaN`, where N is a number >= 0 | ||
- For a release candidate, add `.rcN` | ||
- Run `python3 doc/update_changelog.py` or update `doc/changelog.rst` manually | ||
- Check the output if you used the script | ||
- Merge `develop` into `master` | ||
- Every push to `master` triggers building wheels, uploading to PyPI, and tagging/publishing on GitHub | ||
- If there are problems with the wheels, commit fixes to `develop`, then merge again into `master` | ||
- Note: Upload to PyPI uses API tokens configured in PyPI and Github "Secrets" | ||
|
||
- conda-forge should pick up our release automatically and generate conda packages |
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