File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -51,20 +51,17 @@ jobs:
5151 CIBW_PLATFORM : linux
5252 CIBW_ARCHS_LINUX : ${{ matrix.arch }}
5353
54- # Python versions to build for
54+ - name : Build wheels
55+ 56+ env :
57+ CIBW_PLATFORM : linux
58+ CIBW_ARCHS_LINUX : ${{ matrix.arch }}
5559 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
60+ CIBW_SKIP : " *-musllinux*"
6461 CIBW_TEST_COMMAND : " python -c 'import pylibbpf; print(f\" pylibbpf {pylibbpf.__version__} imported successfully\" )'"
65-
66- # Skip testing on emulated architectures (too slow)
6762 CIBW_TEST_SKIP : " *-linux_aarch64"
63+ CIBW_BEFORE_ALL_LINUX : |
64+ yum install -y elfutils-libelf-devel zlib-devel
6865
6966 - name : Verify clean directory
7067 run : git diff --exit-code
You can’t perform that action at this time.
0 commit comments