-
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.
Merge pull request #4 from Blosc/latest_blosc2
Latest blosc2
- Loading branch information
Showing
26 changed files
with
70 additions
and
272 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 |
---|---|---|
|
@@ -22,6 +22,12 @@ jobs: | |
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
arch: [x86_64] | ||
# arch: [x86_64, aarch64] | ||
exclude: | ||
- os: windows-latest | ||
arch: aarch64 | ||
- os: macos-latest | ||
arch: aarch64 | ||
|
||
steps: | ||
- name: Checkout repo | ||
|
@@ -36,7 +42,7 @@ jobs: | |
|
||
- name: Set up QEMU | ||
if: ${{ matrix.arch == 'aarch64' }} | ||
uses: docker/setup-qemu-action@v2 | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Install Ninja | ||
id: ninja | ||
|
@@ -63,7 +69,7 @@ jobs: | |
cmd /V /C "set BLOSC_TRACE=1 && python -m pytest {project}/tests" | ||
- name: Build wheels (Linux / Mac OSX x86_64) | ||
if: ${{ matrix.os != 'windows-latest'}} | ||
if: ${{ matrix.os != 'windows-latest' && matrix.arch != 'aarch64' }} | ||
uses: pypa/[email protected] | ||
env: | ||
# The build requirements should be installed by the pyproject.toml specs | ||
|
@@ -76,15 +82,23 @@ jobs: | |
CIBW_ARCHS_LINUX: ${{ matrix.arch }} | ||
CIBW_ARCHS_MACOS: "x86_64" | ||
|
||
# - name: Build wheels (Mac OSX arm64) | ||
# if: ${{ matrix.os != 'windows-latest' && runner.os != 'Linux' }} | ||
# uses: pypa/[email protected] | ||
# env: | ||
# # The build requirements should be installed by the pyproject.toml specs | ||
# CIBW_ENVIRONMENT: CMAKE_OSX_ARCHITECTURES=arm64 DONT_BUILD_EXAMPLES=1 | ||
# CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*' | ||
# CIBW_TEST_SKIP: "*macosx*arm64*" # cibuild does not support testing arm64 on macos | ||
# CIBW_ARCHS_MACOS: "arm64" | ||
- name: Build wheels (Ubuntu aarch64) | ||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'aarch64' }} | ||
uses: pypa/[email protected] | ||
env: | ||
# The build requirements should be installed by the pyproject.toml specs | ||
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*' | ||
CIBW_ARCHS_LINUX: "aarch64" | ||
|
||
- name: Build wheels (Mac OSX arm64) | ||
if: ${{ matrix.os != 'windows-latest' && runner.os != 'Linux' }} | ||
uses: pypa/[email protected] | ||
env: | ||
# The build requirements should be installed by the pyproject.toml specs | ||
CIBW_ENVIRONMENT: CMAKE_OSX_ARCHITECTURES=arm64 DONT_BUILD_EXAMPLES=1 | ||
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*' | ||
CIBW_TEST_SKIP: "*macosx*arm64*" # cibuild does not support testing arm64 on macos | ||
CIBW_ARCHS_MACOS: "arm64" | ||
|
||
- name: Upload wheels | ||
uses: actions/upload-artifact@v3 | ||
|
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
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
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
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
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
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
Oops, something went wrong.