Skip to content

Commit

Permalink
test: build latest swig
Browse files Browse the repository at this point in the history
  • Loading branch information
karosc committed Feb 16, 2024
1 parent e2e25c3 commit 9827eee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@ jobs:
- name: Install required system packages
run: ${{matrix.sys_pkgs}}

- name: Run on Linux
if: matrix.os == 'ubuntu-latest'
run: |
apt remove swig4.0
git clone https://github.com/swig/swig.git
cd swig
mkdir build
sh ./autogen.sh
cd build
../configure
make
make install
cd ../..
- name: Build wheel in virtual env
run: |
python -m venv --clear ./build-env
Expand Down
2 changes: 1 addition & 1 deletion swmm-toolkit/build-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ setuptools == 65.5.1
wheel == 0.38.1
scikit-build == 0.11.1
cmake == 3.21
swig == 4.0.2
# swig == 4.0.2

0 comments on commit 9827eee

Please sign in to comment.