From 308d78e3dafab71ee8ba173e8ed7fb35a7a41e2f Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Tue, 26 Jun 2018 13:54:37 +0000 Subject: [PATCH] only download via curl if file on server is different than what is currently cached on VM. --- .gitlab-ci.yml | 2 +- CI/before_install.osx.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83a6ab63f7..97070136f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ MacOS: allow_failure: true script: #- macos_qt_formula=qt - #- CI/before_install.osx.sh + - CI/before_install.osx.sh - CI/before_script.osx.sh - make -j2 - DESTDIR=artifacts make install diff --git a/CI/before_install.osx.sh b/CI/before_install.osx.sh index 48e2ef6bae..c4793d1cf6 100755 --- a/CI/before_install.osx.sh +++ b/CI/before_install.osx.sh @@ -6,5 +6,5 @@ brew outdated cmake || brew upgrade cmake brew outdated pkgconfig || brew upgrade pkgconfig brew install qt -curl https://downloads.openmw.org/osx/dependencies/openmw-deps-100d2e0.zip -o ~/openmw-deps.zip +curl -fSL -R -J https://downloads.openmw.org/osx/dependencies/openmw-deps-100d2e0.zip -o ~/openmw-deps.zip unzip ~/openmw-deps.zip -d /private/tmp/openmw-deps > /dev/null