Skip to content

Commit b444de8

Browse files
Update wheels.yml
1 parent e431fcb commit b444de8

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,14 @@ jobs:
4747
- name: Build wheels
4848
uses: pypa/[email protected]
4949
env:
50-
# Only build for Linux
5150
CIBW_PLATFORM: linux
5251
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
53-
54-
# Python versions to build for
5552
CIBW_BUILD: "cp38-* cp311-*"
56-
CIBW_SKIP: "*-musllinux*" # Skip musl builds, focus on glibc
57-
58-
# # Install minimal system dependencies before building
59-
# CIBW_BEFORE_ALL_LINUX: >
60-
# yum install -y make gcc-c++ kernel-headers ||
61-
# (apt-get update && apt-get install -y build-essential linux-headers-generic)
62-
63-
# Test the built wheels
53+
CIBW_SKIP: "*-musllinux*"
6454
CIBW_TEST_COMMAND: "python -c 'import pylibbpf; print(f\"pylibbpf {pylibbpf.__version__} imported successfully\")'"
65-
66-
# Skip testing on emulated architectures (too slow)
6755
CIBW_TEST_SKIP: "*-linux_aarch64"
56+
CIBW_BEFORE_ALL_LINUX: |
57+
yum install -y elfutils-libelf-devel zlib-devel
6858
6959
- name: Verify clean directory
7060
run: git diff --exit-code

0 commit comments

Comments
 (0)