diff --git a/.github/actions/setup-swig/action.yml b/.github/actions/setup-swig/action.yml index b4441cd05e..ff801a8a56 100644 --- a/.github/actions/setup-swig/action.yml +++ b/.github/actions/setup-swig/action.yml @@ -7,7 +7,7 @@ inputs: swig_version: description: 'Swig version to build' required: false - default: '4.2.0' + default: '4.4.0' runs: using: "composite" diff --git a/.github/workflows/deploy_branch.yml b/.github/workflows/deploy_branch.yml index 7282f5a231..3f8f75be52 100644 --- a/.github/workflows/deploy_branch.yml +++ b/.github/workflows/deploy_branch.yml @@ -21,9 +21,6 @@ jobs: with: fetch-depth: 20 - - name: Set up SWIG - uses: ./.github/actions/setup-swig - - run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV - name: Create AMICI sdist diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index 251c626a61..95cd047ef3 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -31,9 +31,6 @@ jobs: with: fetch-depth: 20 - - name: Set up SWIG - uses: ./.github/actions/setup-swig - - run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV - name: sdist diff --git a/.github/workflows/test_doc.yml b/.github/workflows/test_doc.yml index c5f224fe61..fd1f4f2cac 100644 --- a/.github/workflows/test_doc.yml +++ b/.github/workflows/test_doc.yml @@ -67,8 +67,5 @@ jobs: pandoc \ && pip install tox - - name: Set up SWIG - uses: ./.github/actions/setup-swig - - name: Run sphinx run: tox -e doc diff --git a/scripts/downloadAndBuildSwig.sh b/scripts/downloadAndBuildSwig.sh index 7027cd3adc..ee64098355 100755 --- a/scripts/downloadAndBuildSwig.sh +++ b/scripts/downloadAndBuildSwig.sh @@ -7,7 +7,7 @@ set -euo pipefail SCRIPT_PATH=$(dirname "$BASH_SOURCE") AMICI_PATH=$(cd "$SCRIPT_PATH/.." && pwd) -swig_version="${1:-"4.3.1"}" +swig_version="${1:-"4.4.0"}" SWIG_ARCHIVE="swig-${swig_version}.tar.gz" SWIG_URL="http://downloads.sourceforge.net/project/swig/swig/swig-${swig_version}/${SWIG_ARCHIVE}" SWIG_DIR="swig-${swig_version}"