Fix building wheels (#620)
This commit is contained in:
6
.github/workflows/build-wheels-aarch64.yaml
vendored
6
.github/workflows/build-wheels-aarch64.yaml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
||||
# for a list of versions
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.15.0
|
||||
uses: pypa/cibuildwheel@v2.16.5
|
||||
env:
|
||||
CIBW_BEFORE_ALL: |
|
||||
git clone --depth 1 https://github.com/alsa-project/alsa-lib
|
||||
@@ -51,6 +51,9 @@ jobs:
|
||||
CIBW_SKIP: "cp27-* cp35-* cp36-* *-win32 pp* *-musllinux* *-manylinux_i686"
|
||||
CIBW_BUILD_VERBOSITY: 3
|
||||
CIBW_ARCHS_LINUX: aarch64
|
||||
CIBW_MANYLINUX_AARCH64_IMAGE: quay.io/pypa/manylinux_2_28_aarch64
|
||||
# From onnxruntime >= 1.17.0, it drops support for CentOS 7.0 and it supports only manylinux_2_28.
|
||||
# manylinux_2_24 is no longer supported
|
||||
|
||||
- name: Display wheels
|
||||
shell: bash
|
||||
@@ -90,6 +93,7 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheel-${{ matrix.python-version }}
|
||||
path: ./wheelhouse/*.whl
|
||||
|
||||
- name: Publish wheels to PyPI
|
||||
|
||||
6
.github/workflows/build-wheels-linux.yaml
vendored
6
.github/workflows/build-wheels-linux.yaml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
||||
# for a list of versions
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.15.0
|
||||
uses: pypa/cibuildwheel@v2.16.5
|
||||
env:
|
||||
CIBW_BEFORE_ALL: |
|
||||
git clone --depth 1 https://github.com/alsa-project/alsa-lib
|
||||
@@ -46,6 +46,9 @@ jobs:
|
||||
CIBW_BUILD: "${{ matrix.python-version}}-* "
|
||||
CIBW_SKIP: "cp27-* cp35-* cp36-* *-win32 pp* *-musllinux* *-manylinux_i686"
|
||||
CIBW_BUILD_VERBOSITY: 3
|
||||
CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux_2_28_x86_64
|
||||
# From onnxruntime >= 1.17.0, it drops support for CentOS 7.0 and it supports only manylinux_2_28.
|
||||
# manylinux_2_24 is no longer supported
|
||||
|
||||
- name: Display wheels
|
||||
shell: bash
|
||||
@@ -73,6 +76,7 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheel-${{ matrix.python-version }}
|
||||
path: ./wheelhouse/*.whl
|
||||
|
||||
- name: Publish to huggingface
|
||||
|
||||
@@ -62,6 +62,7 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheel-${{ matrix.python-version }}
|
||||
path: ./wheelhouse/*.whl
|
||||
|
||||
- name: Publish to huggingface
|
||||
|
||||
@@ -62,6 +62,7 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheel-${{ matrix.python-version }}
|
||||
path: ./wheelhouse/*.whl
|
||||
|
||||
- name: Publish to huggingface
|
||||
|
||||
3
.github/workflows/build-wheels-win32.yaml
vendored
3
.github/workflows/build-wheels-win32.yaml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
||||
# for a list of versions
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.15.0
|
||||
uses: pypa/cibuildwheel@v2.16.5
|
||||
env:
|
||||
CIBW_ENVIRONMENT: SHERPA_ONNX_CMAKE_ARGS="-A Win32"
|
||||
CIBW_BUILD: "${{ matrix.python-version}}-* "
|
||||
@@ -47,6 +47,7 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheel-${{ matrix.python-version }}
|
||||
path: ./wheelhouse/*.whl
|
||||
|
||||
- name: Publish to huggingface
|
||||
|
||||
3
.github/workflows/build-wheels-win64.yaml
vendored
3
.github/workflows/build-wheels-win64.yaml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
||||
# for a list of versions
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.15.0
|
||||
uses: pypa/cibuildwheel@v2.16.5
|
||||
env:
|
||||
CIBW_BUILD: "${{ matrix.python-version}}-* "
|
||||
CIBW_SKIP: "cp27-* cp35-* *-win32 pp* *-musllinux*"
|
||||
@@ -46,6 +46,7 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheel-${{ matrix.python-version }}
|
||||
path: ./wheelhouse/*.whl
|
||||
|
||||
- name: Publish to huggingface
|
||||
|
||||
Reference in New Issue
Block a user