From 96653029cfbb6b752aae9f68a4eed7c83272a404 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 9 Aug 2026 10:49:49 +0200 Subject: [PATCH] Upgrade standalone CI to SWIG 4.2.1 Generated with the assistance of an AI coding tool. --- .github/workflows/ci-ifcwrap-standalone.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-ifcwrap-standalone.yml b/.github/workflows/ci-ifcwrap-standalone.yml index b3e070f26c..888b8f3e72 100644 --- a/.github/workflows/ci-ifcwrap-standalone.yml +++ b/.github/workflows/ci-ifcwrap-standalone.yml @@ -43,6 +43,7 @@ jobs: sudo apt update sudo apt-get install --no-install-recommends -y \ cmake \ + bison \ gcc \ g++ \ libboost-date-time-dev \ @@ -61,13 +62,22 @@ jobs: libocct-ocaf-dev \ libocct-visualization-dev \ libpcre3-dev \ + libpcre2-dev \ libtbb-dev \ libxml2-dev \ libxi-dev \ occt-misc \ tcl-dev \ - tk-dev \ - swig + tk-dev + + - 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 run: |