Upgrade standalone CI to SWIG 4.2.1

Generated with the assistance of an AI coding tool.
This commit is contained in:
Thomas Krijnen
2026-08-09 10:49:49 +02:00
parent e9fffc221b
commit 96653029cf
+12 -2
View File
@@ -43,6 +43,7 @@ jobs:
sudo apt update sudo apt update
sudo apt-get install --no-install-recommends -y \ sudo apt-get install --no-install-recommends -y \
cmake \ cmake \
bison \
gcc \ gcc \
g++ \ g++ \
libboost-date-time-dev \ libboost-date-time-dev \
@@ -61,13 +62,22 @@ jobs:
libocct-ocaf-dev \ libocct-ocaf-dev \
libocct-visualization-dev \ libocct-visualization-dev \
libpcre3-dev \ libpcre3-dev \
libpcre2-dev \
libtbb-dev \ libtbb-dev \
libxml2-dev \ libxml2-dev \
libxi-dev \ libxi-dev \
occt-misc \ occt-misc \
tcl-dev \ tcl-dev \
tk-dev \ tk-dev
swig
- name: Build SWIG
run: |
sudo apt-get remove --purge -y swig swig4.0
git clone https://github.com/swig/swig --branch v4.2.1 --depth 1
cmake -S swig -B swig/build -DCMAKE_BUILD_TYPE=Release
cmake --build swig/build -j "$(nproc)"
sudo cmake --install swig/build
swig -version
- name: Configure minimal IfcOpenShell - name: Configure minimal IfcOpenShell
run: | run: |