Skip to content

Commit

Permalink
Udate github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlk committed Oct 3, 2024
1 parent 7793f46 commit d65ecca
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.architectures }}-${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -35,6 +35,7 @@ jobs:
# macOS Apple silicon
- os: macos-14
architectures: "arm64"
fail-fast: false

steps:
- uses: actions/checkout@v4
Expand All @@ -45,14 +46,19 @@ jobs:
with:
platforms: arm64

- name: Build wheels
- name: Build and test
uses: pypa/[email protected]
env:
# Build
CIBW_BUILD: cp{310,311,312,313}-*
CIBW_ARCHS_LINUX: ${{ matrix.architectures }}
CIBW_ARCHS_MACOS: ${{ matrix.architectures }}
CIBW_ARCHS_WINDOWS: ${{ matrix.architectures }}

# Test
CIBW_BEFORE_TEST: pip install -r requirements-dev.txt
CIBW_TEST_COMMAND: pytest {package}/tests

- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
Expand Down

0 comments on commit d65ecca

Please sign in to comment.