Skip to content

Commit

Permalink
Use custom ENV to exclude libEGL from wheel, and re-enable testing
Browse files Browse the repository at this point in the history
Fixes segfault and re-enabling testing.

See
pypa/cibuildwheel#2118
  • Loading branch information
HinTak committed Jan 2, 2025
1 parent 05f280c commit f804621
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ jobs:
CIBW_TEST_COMMAND: python -m pytest {project}/tests
CIBW_TEST_COMMAND_LINUX: >
xvfb-run -s "-screen 0 640x480x24" python -m pytest {project}/tests
CIBW_TEST_SKIP: "*-macosx_arm64 *manylinux*"
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair --exclude libEGL.so -w {dest_dir} {wheel}"
CIBW_TEST_SKIP: "*-macosx_arm64"

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -194,7 +195,8 @@ jobs:
CIBW_TEST_COMMAND: python -m pytest {project}/tests
CIBW_TEST_COMMAND_LINUX: >
xvfb-run -s "-screen 0 640x480x24" python -m pytest {project}/tests
CIBW_TEST_SKIP: "*-macosx_arm64 *manylinux*"
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair --exclude libEGL.so -w {dest_dir} {wheel}"
CIBW_TEST_SKIP: "*-macosx_arm64"

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f804621

Please sign in to comment.