Skip to content

Commit 1f5b004

Browse files
committed
fix pipeline: remove system swig before building wheel
1 parent c151193 commit 1f5b004

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_wheel.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ 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: sudo apt remove swig4.0 cmake
6768
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
6869
CIBW_ARCHS_LINUX: x86_64
6970
CIBW_ARCHS_WINDOWS: AMD64
@@ -102,7 +103,7 @@ jobs:
102103
platforms: all
103104

104105
- name: Build wheels
105-
uses: pypa/cibuildwheel@v2.16.2
106+
uses: pypa/cibuildwheel@v2.17.0
106107
with:
107108
package-dir: ./swmm-toolkit
108109
env:

0 commit comments

Comments
 (0)