-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use python3 in CI && only build as shared lib for Mac arm64
- Loading branch information
1 parent
4ff678b
commit abd95de
Showing
2 changed files
with
12 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,23 +62,23 @@ jobs: | |
if: runner.os == 'Windows' | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BEFORE_ALL: python -m pip install cibuildwheel -U | ||
CIBW_BEFORE_ALL: python3 -m pip install cibuildwheel -U | ||
CIBW_BUILD: 'cp38-win_amd64 cp39-win_amd64 cp310-win_amd64 cp311-win_amd64' | ||
CIBW_BEFORE_TEST: python -m pip install --upgrade pip && python -m pip install -r requirements-test.txt | ||
CIBW_BEFORE_TEST: python3 -m pip install --upgrade pip && python3 -m pip install -r requirements-test.txt | ||
CIBW_TEST_COMMAND: > | ||
cmd /V /C "set BLOSC_TRACE=1 && python -m pytest {project}/tests" | ||
cmd /V /C "set BLOSC_TRACE=1 && python3 -m pytest {project}/tests" | ||
- name: Build wheels (Linux / Mac OSX x86_64) | ||
if: ${{ matrix.os != 'windows-latest' && matrix.arch != 'aarch64' }} | ||
uses: pypa/[email protected] | ||
env: | ||
# The build requirements should be installed by the pyproject.toml specs | ||
#CIBW_BEFORE_BUILD: python -m pip install --upgrade pip && python -m pip install -r requirements-build.txt | ||
#CIBW_BEFORE_BUILD: python3 -m pip install --upgrade pip && python3 -m pip install -r requirements-build.txt | ||
CIBW_BEFORE_BUILD_MACOS: CMAKE_OSX_ARCHITECTURES=x86_64 | ||
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*' | ||
CIBW_BEFORE_TEST: python -m pip install --upgrade pip && python -m pip install -r requirements-test.txt | ||
CIBW_BEFORE_TEST: python3 -m pip install --upgrade pip && python3 -m pip install -r requirements-test.txt | ||
CIBW_TEST_COMMAND: > | ||
BLOSC_TRACE=1 python -m pytest {project}/tests | ||
BLOSC_TRACE=1 python3 -m pytest {project}/tests | ||
CIBW_ARCHS_LINUX: ${{ matrix.arch }} | ||
CIBW_ARCHS_MACOS: "x86_64" | ||
|
||
|
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