mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-02-12 16:11:00 +00:00
Fix wheels workflow
This commit is contained in:
10
.github/workflows/wheels.yml
vendored
10
.github/workflows/wheels.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: recursive
|
||||||
|
|
||||||
- name: Build SDist
|
- name: Build SDist
|
||||||
run: pipx run build --sdist
|
run: pipx run build --sdist
|
||||||
@ -41,14 +41,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: recursive
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: pypa/cibuildwheel@v3.2
|
uses: pypa/cibuildwheel@v3.2
|
||||||
env:
|
env:
|
||||||
CIBW_PLATFORM: linux
|
CIBW_PLATFORM: linux
|
||||||
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
|
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
|
||||||
CIBW_BUILD: "cp311-*"
|
CIBW_BUILD: "cp312-* cp313-*"
|
||||||
CIBW_SKIP: "*-musllinux*"
|
CIBW_SKIP: "*-musllinux*"
|
||||||
CIBW_TEST_COMMAND: "python -c 'import pylibbpf; print(f\"pylibbpf {pylibbpf.__version__} imported successfully\")'"
|
CIBW_TEST_COMMAND: "python -c 'import pylibbpf; print(f\"pylibbpf {pylibbpf.__version__} imported successfully\")'"
|
||||||
CIBW_TEST_SKIP: "*-linux_aarch64"
|
CIBW_TEST_SKIP: "*-linux_aarch64"
|
||||||
@ -56,7 +56,9 @@ jobs:
|
|||||||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
|
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
|
||||||
|
|
||||||
CIBW_BEFORE_ALL_LINUX: |
|
CIBW_BEFORE_ALL_LINUX: |
|
||||||
dnf install -y elfutils-libelf-devel zlib-devel
|
dnf install -y elfutils-libelf-devel zlib-devel make gcc gcc-c++ git
|
||||||
|
CIBW_BEFORE_BUILD: >
|
||||||
|
pip install --upgrade "setuptools>=77.0.0" wheel cmake ninja pybind11
|
||||||
|
|
||||||
- name: Verify clean directory
|
- name: Verify clean directory
|
||||||
run: git diff --exit-code
|
run: git diff --exit-code
|
||||||
|
|||||||
Reference in New Issue
Block a user