forked from DigitalSlideArchive/HistomicsTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'DigitalSlideArchive:master' into sync-number-of-nuclei-…
…and-features
- Loading branch information
Showing
4 changed files
with
16 additions
and
68 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 |
---|---|---|
|
@@ -57,21 +57,18 @@ jobs: | |
name: docs | ||
path: ./docs/_build | ||
build_wheels: | ||
name: Build wheels on ${{ matrix.buildplat[0] }} / ${{ matrix.buildplat[1] }} for ${{ matrix.python }} | ||
name: Wheels for ${{ matrix.python }} / ${{ matrix.buildplat[0] }} / ${{ matrix.buildplat[1] }} | ||
runs-on: ${{ matrix.buildplat[0] }} | ||
# Don't build external PRs. | ||
if: github.repository == 'DigitalSlideArchive/HistomicsTK' | ||
strategy: | ||
matrix: | ||
# See matplotlib for some of the rationale of this | ||
buildplat: | ||
- [ubuntu-latest, manylinux_x86_64] | ||
- [ubuntu-latest, musllinux_x86_64] | ||
- [macos-latest, macosx_*] | ||
- [windows-latest, win_amd64] | ||
- [ubuntu-latest, x86_64] | ||
- [macos-latest, "x86_64 arm64"] | ||
- [windows-latest, auto64] | ||
python: ["cp37", "cp38", "cp39", "cp310", "cp311"] | ||
exclude: | ||
- buildplat: | ||
- [windows-latest, win32] | ||
fail-fast: false | ||
|
||
steps: | ||
|
@@ -87,11 +84,14 @@ jobs: | |
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }} | ||
CIBW_BUILD: ${{ matrix.python }}-* | ||
CIBW_TEST_SKIP: "*-macosx_arm64" | ||
CIBW_ARCHS: ${{ matrix.buildplat[1] }} | ||
MACOSX_DEPLOYMENT_TARGET: "10.12" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ matrix.python }}-${{ startsWith(matrix.buildplat[1], 'macosx') && 'macosx' || matrix.buildplat[1] }} | ||
# name: ${{ matrix.python }}-${{ startsWith(matrix.buildplat[1], 'macosx') && 'macosx' || matrix.buildplat[1] }} | ||
path: ./wheelhouse/*.whl | ||
make_sdist: | ||
name: Make SDist | ||
|
@@ -104,7 +104,7 @@ jobs: | |
run: pipx run build --sdist | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: sdist | ||
# name: sdist | ||
path: dist/*.tar.gz | ||
|
||
# Still on Circle-CI | ||
|
@@ -128,6 +128,8 @@ jobs: | |
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
# name: artifact | ||
name: artifact | ||
path: dist | ||
- name: List dist directory | ||
run: ls dist | ||
- uses: pypa/gh-action-pypi-publish@release/v1 |
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