Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test SWIG 4.3 #1250

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 54 additions & 54 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,52 +15,52 @@ jobs:
fail-fast: false
matrix:
platform:
- name: macos-13-release
os_type: macos
os_name: macos-13
build_type: Release
build_python: ON
- name: macos-13-debug
os_type: macos
os_name: macos-13
build_type: Debug
build_python: OFF
- name: macos-14-release
os_type: macos
os_name: macos-14
build_type: Release
build_python: ON
- name: macos-14-debug
os_type: macos
os_name: macos-14
build_type: Debug
build_python: OFF
# - name: macos-13-release
# os_type: macos
# os_name: macos-13
# build_type: Release
# build_python: ON
# - name: macos-13-debug
# os_type: macos
# os_name: macos-13
# build_type: Debug
# build_python: OFF
# - name: macos-14-release
# os_type: macos
# os_name: macos-14
# build_type: Release
# build_python: ON
# - name: macos-14-debug
# os_type: macos
# os_name: macos-14
# build_type: Debug
# build_python: OFF
- name: ubuntu-latest-release
os_type: ubuntu
os_name: ubuntu-latest
build_type: Release
build_python: ON
- name: ubuntu-latest-debug
os_type: ubuntu
os_name: ubuntu-latest
build_type: Debug
build_python: OFF
- name: windows-latest-release
os_type: windows
os_name: windows-latest
build_type: Release
build_python: ON
- name: windows-latest-debug
os_type: windows
os_name: windows-latest
build_type: Debug
build_python: OFF
- name: manylinux_2_28-release
os_type: manylinux
os_name: ubuntu-latest
container_image: quay.io/pypa/manylinux_2_28_x86_64
build_type: Release
build_python: ON
# - name: ubuntu-latest-debug
# os_type: ubuntu
# os_name: ubuntu-latest
# build_type: Debug
# build_python: OFF
# - name: windows-latest-release
# os_type: windows
# os_name: windows-latest
# build_type: Release
# build_python: ON
# - name: windows-latest-debug
# os_type: windows
# os_name: windows-latest
# build_type: Debug
# build_python: OFF
# - name: manylinux_2_28-release
# os_type: manylinux
# os_name: ubuntu-latest
# container_image: quay.io/pypa/manylinux_2_28_x86_64
# build_type: Release
# build_python: ON
libroadrunner_deps_owner: [ "sys-bio" ]
libroadrunner_deps_repo: [ "libroadrunner-deps" ]
libroadrunner_deps_name: [ "libroadrunner-deps" ]
Expand Down Expand Up @@ -337,19 +337,19 @@ jobs:
echo SWIG_DIR="-DSWIG_EXECUTABLE=${RUNNER_WORKSPACE}/swig/install-swig/bin/swig" >> $GITHUB_ENV
elif [ "${{ matrix.platform.os_type }}" == 'ubuntu' ]; then
# To fix installed swig 4.2:
sudo sed -i "681,684d;686d" /usr/share/swig4.0/swig.swg
# mkdir -p swig
# cd swig
# curl -L https://sourceforge.net/projects/swig/files/swig/swig-4.3.0/swig-4.3.0.tar.gz/download > swig.tar.gz
# tar -zxf swig.tar.gz
# rm swig.tar.gz
# mkdir -p install-swig
# cd swig-4.3.0/
# sed -i "677,680d;682d" Lib/swig.swg
# ./configure --disable-dependency-tracking --prefix=${RUNNER_WORKSPACE}/swig/install-swig
# make
# make install
# echo SWIG_DIR="-DSWIG_EXECUTABLE=${RUNNER_WORKSPACE}/swig/install-swig/bin/swig" >> $GITHUB_ENV
# sudo sed -i "681,684d;686d" /usr/share/swig4.0/swig.swg
mkdir -p swig
cd swig
curl -L https://sourceforge.net/projects/swig/files/swig/swig-4.3.0/swig-4.3.0.tar.gz/download > swig.tar.gz
tar -zxf swig.tar.gz
rm swig.tar.gz
mkdir -p install-swig
cd swig-4.3.0/
sed -i "677,680d;682d" Lib/swig.swg
./configure --disable-dependency-tracking --prefix=${RUNNER_WORKSPACE}/swig/install-swig
make
make install
echo SWIG_DIR="-DSWIG_EXECUTABLE=${RUNNER_WORKSPACE}/swig/install-swig/bin/swig" >> $GITHUB_ENV
fi
echo PYTHON_DIR="-DPython_ROOT_DIR=${{ env.python_v1_dir }}" >> $GITHUB_ENV

Expand Down
Loading