mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Upgrade standalone CI to SWIG 4.2.1
Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user