-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update actions to avoid python setup deprecated warnings regarding Node.js 20.
- Loading branch information
Showing
1 changed file
with
9 additions
and
2 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 |
---|---|---|
|
@@ -27,8 +27,8 @@ jobs: | |
- [ubuntu-22.04, musllinux_x86_64] | ||
- [ubuntu-22.04, manylinux_aarch64] | ||
- [ubuntu-22.04, musllinux_aarch64] | ||
# macOS build arm64 on x86_64 with cross-compiler | ||
- [macos-12, macosx_x86_64] | ||
- [macos-12, macosx_arm64] | ||
python-version: [pp310, cp37, cp38, cp39, cp310, cp311, cp312] | ||
exclude: | ||
# pp310, cp37, cp38 on musllinux is not support | ||
|
@@ -49,6 +49,11 @@ jobs: | |
python-version: cp310 | ||
- buildplat: [ubuntu-22.04, musllinux_aarch64] | ||
python-version: pp310 | ||
# cp37, pp310 on macos arm64 is not supported | ||
- buildplat: [macos-12, macosx_arm64] | ||
python-version: cp37 | ||
- buildplat: [macos-12, macosx_arm64] | ||
python-version: pp310 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -60,7 +65,7 @@ jobs: | |
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected].2 | ||
uses: pypa/[email protected].4 | ||
with: | ||
package-dir: . | ||
output-dir: wheelhouse | ||
|
@@ -88,6 +93,8 @@ jobs: | |
CYVCF2_HTSLIB_CONFIGURE_OPTIONS="--enable-libcurl --enable-s3 --enable-lzma --enable-bz2 --with-libdeflate" | ||
CYTHONIZE=1 | ||
CIBW_TEST_COMMAND: "{project}/ci/test" | ||
# macOS build arm64 on x86_64 with cross-compiler, not support test | ||
CIBW_TEST_SKIP: "macosx_arm64" | ||
|
||
# Enable tmate debugging of manually-triggered workflows if the input option was provided | ||
- name: Setup tmate session | ||
|