Skip to content

Commit 3f24358

Browse files
committed
fix: debug actions
1 parent 5dd041f commit 3f24358

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_wheel.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
CIBW_BEFORE_TEST: pip install -r {package}/test-requirements.txt
6565
# mac needs ninja to build
6666
CIBW_BEFORE_BUILD_MACOS: brew install ninja
67-
CIBW_BEFORE_BUILD_LINUX: apt remove -y swig4.0 cmake
67+
# remove system swig (cmake bug doesn't respect python venv)
68+
CIBW_BEFORE_BUILD_LINUX: rm -f $(which swig) && rm -f $(which swig4.0)
6869
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
6970
CIBW_ARCHS_LINUX: x86_64
7071
CIBW_ARCHS_WINDOWS: AMD64

0 commit comments

Comments
 (0)