ci.yml - use depth 1 for swig

This commit is contained in:
Andrej730
2025-12-15 12:52:10 +05:00
parent 4a2058ebc6
commit 46dc6cf08b
+1 -2
View File
@@ -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 \