[glib-networking/windows-ci-cached] gitlab: do not rebuild the deps each time



commit 2f8caaf97f008db633b6af193f7131291908ae17
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Mon Mar 30 12:06:37 2020 +0200

    gitlab: do not rebuild the deps each time
    
    Instead comment out the rebuild of the dependencies and add instructions
    to comment it out in a branch when we need to update the deps

 .gitlab-ci/test-msvc.bat | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci/test-msvc.bat b/.gitlab-ci/test-msvc.bat
index f47a755..fb940a9 100644
--- a/.gitlab-ci/test-msvc.bat
+++ b/.gitlab-ci/test-msvc.bat
@@ -5,13 +5,17 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary
 @echo on
 
 set BUILD_DIR=c:\gnet
-@RD /S /Q %BUILD_DIR%
 
-git clone --depth 1 https://github.com/wingtk/gvsbuild.git || goto :error
+:: NOTE: uncomment this in a branch in order to update the depenencies. We do not
+:: build it each time to avoid spending so much of time building openssl and glib
+:: so we just keep it cached in c:\gnet
+::@RD /S /Q %BUILD_DIR%
 
-pushd gvsbuild
-python.exe build.py --verbose --debug build -p x64 --vs-ver 15 --build-dir %BUILD_DIR% openssl glib || goto 
:error
-popd
+::git clone --depth 1 https://github.com/wingtk/gvsbuild.git || goto :error
+
+::pushd gvsbuild
+::python.exe build.py --verbose --debug build -p x64 --vs-ver 15 --build-dir %BUILD_DIR% openssl glib || 
goto :error
+::popd
 
 set DEPS_DIR=%BUILD_DIR%\gtk\x64\release
 set PATH=%DEPS_DIR%\bin;%PATH%


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]