Skip to content

Commit

Permalink
ci: fix issue while passing environment variable to cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Nov 29, 2024
1 parent c4b48b8 commit 4600d63
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ jobs:
fail-fast: false
matrix:
python-version:
- cp310
- cp38
- pp38
- pp39
- pp310
build:
- linux
Expand Down Expand Up @@ -168,14 +170,13 @@ jobs:
CIBW_ENVIRONMENT_LINUX: 'PATH="$HOME/.cargo/bin:$PATH" '
CIBW_ENVIRONMENT_WINDOWS: 'PATH="$UserProfile\.cargo\bin;$PATH"'
CIBW_ENVIRONMENT_MACOS: 'MACOSX_DEPLOYMENT_TARGET=10.12'

CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: 'pytest {project}/py'
CIBW_TEST_SKIP: '*-macosx_arm64 *-macosx_universal2:arm64'
CIBW_BUILD_VERBOSITY: 1

MACOSX_DEPLOYMENT_TARGET: '10.12'

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 4600d63

Please sign in to comment.