summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <qignacio@amazon.com>2020-03-30 12:06:37 +0200
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-06-16 14:32:26 +0000
commit1c86f1b5dd17679f66b364d874235227f6ede483 (patch)
treea73a79d680d4d8c766c11532c136e909082de802
parent7ddf2054b3dfaa4e90efaa6453a11a4817000c86 (diff)
downloadglib-networking-1c86f1b5dd17679f66b364d874235227f6ede483.tar.gz
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
-rw-r--r--.gitlab-ci/test-msvc.bat14
1 files changed, 9 insertions, 5 deletions
diff --git a/.gitlab-ci/test-msvc.bat b/.gitlab-ci/test-msvc.bat
index 0a6a87a..d088c4b 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\BuildTools\VC\Auxiliar
@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%