Skip to content

Commit f7e7bfe

Browse files
committed
Don't build swig
Meanwhile, we use swig from PyPI. There is currently no need to build swig ourselves. That version was anyways shadowed by PyPI-swig.
1 parent 84a7e39 commit f7e7bfe

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

.github/actions/setup-swig/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
swig_version:
88
description: 'Swig version to build'
99
required: false
10-
default: '4.2.0'
10+
default: '4.4.0'
1111

1212
runs:
1313
using: "composite"

.github/workflows/deploy_branch.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
with:
2222
fetch-depth: 20
2323

24-
- name: Set up SWIG
25-
uses: ./.github/actions/setup-swig
26-
2724
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
2825

2926
- name: Create AMICI sdist

.github/workflows/deploy_release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ jobs:
3131
with:
3232
fetch-depth: 20
3333

34-
- name: Set up SWIG
35-
uses: ./.github/actions/setup-swig
36-
3734
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
3835

3936
- name: sdist

.github/workflows/test_doc.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,5 @@ jobs:
6767
pandoc \
6868
&& pip install tox
6969
70-
- name: Set up SWIG
71-
uses: ./.github/actions/setup-swig
72-
7370
- name: Run sphinx
7471
run: tox -e doc

scripts/downloadAndBuildSwig.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -euo pipefail
77
SCRIPT_PATH=$(dirname "$BASH_SOURCE")
88
AMICI_PATH=$(cd "$SCRIPT_PATH/.." && pwd)
99

10-
swig_version="${1:-"4.3.1"}"
10+
swig_version="${1:-"4.4.0"}"
1111
SWIG_ARCHIVE="swig-${swig_version}.tar.gz"
1212
SWIG_URL="http://downloads.sourceforge.net/project/swig/swig/swig-${swig_version}/${SWIG_ARCHIVE}"
1313
SWIG_DIR="swig-${swig_version}"

0 commit comments

Comments
 (0)