mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
ci.yml - use depth 1 for swig
This commit is contained in:
@@ -150,9 +150,8 @@ jobs:
|
|||||||
# Remove default swig to avoid conflicts.
|
# Remove default swig to avoid conflicts.
|
||||||
sudo apt remove --purge swig swig4.0
|
sudo apt remove --purge swig swig4.0
|
||||||
sudo apt-get install -y libpcre2-dev bison
|
sudo apt-get install -y libpcre2-dev bison
|
||||||
git clone https://github.com/swig/swig
|
git clone https://github.com/swig/swig --branch v4.1.0 --depth 1
|
||||||
cd swig
|
cd swig
|
||||||
git checkout v4.1.0
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
|||||||
Reference in New Issue
Block a user