Skip to content

Commit

Permalink
CI: Windows and Artifact upload build fixes (#87)
Browse files Browse the repository at this point in the history
* ci: attempt updating to pypa/[email protected]

* ci: unique names for uploaded artifacts

* ci: restore build order/conditions, fix warn
  • Loading branch information
nfrasser authored May 7, 2024
1 parent 0765418 commit 16fbb64
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,18 @@ jobs:
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- uses: pypa/cibuildwheel@v2.16.2
- uses: pypa/cibuildwheel@v2.17.0
env:
CIBW_SKIP: cp36-* pp*-win* pp*-macosx* *_i686
CIBW_TEST_SKIP: "*-win_arm64"
CIBW_ARCHS_LINUX: "x86_64 aarch64"
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"
CIBW_ARCHS_WINDOWS: "AMD64 ARM64"
with:
output-dir: dist
- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ runner.os }}
path: dist

release:
Expand All @@ -126,6 +127,15 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: wheels
- uses: actions/download-artifact@v4
with:
name: wheels-Linux
- uses: actions/download-artifact@v4
with:
name: wheels-macOS
- uses: actions/download-artifact@v4
with:
name: wheels-Windows
- uses: actions/setup-python@v5
with:
python-version: "3.10"
Expand Down

0 comments on commit 16fbb64

Please sign in to comment.