From: DRC Date: Thu, 14 Feb 2019 16:01:16 +0000 (-0600) Subject: appveyor.yml: Cache NASM binary package X-Git-Tag: 2.0.3~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87ab3360d0416054da0f28836f77e0e44fa41dd1;p=libjpeg-turbo appveyor.yml: Cache NASM binary package ... since www.nasm.us seems to be down frequently. This doesn't help us at the moment, but hopefully once the site is back up this will prevent future build failures. --- diff --git a/appveyor.yml b/appveyor.yml index f3bf8b1..cee15e9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,10 +1,10 @@ install: - cmd: >- - mkdir c:\installers + if not exist c:\installers mkdir c:\installers mkdir c:\temp - curl -fSL -o c:\installers\nasm-2.10.01-win32.zip http://www.nasm.us/pub/nasm/releasebuilds/2.10.01/win32/nasm-2.10.01-win32.zip + if not exist c:\installers\nasm-2.10.01-win32.zip curl -fSL -o c:\installers\nasm-2.10.01-win32.zip http://www.nasm.us/pub/nasm/releasebuilds/2.10.01/win32/nasm-2.10.01-win32.zip 7z x c:\installers\nasm-2.10.01-win32.zip -oc:\ > c:\installers\nasm.install.log @@ -22,6 +22,9 @@ install: git clone --depth=1 https://github.com/libjpeg-turbo/buildscripts.git -b %APPVEYOR_REPO_BRANCH% c:/buildscripts +cache: + - c:\installers\nasm-2.10.01-win32.zip -> appveyor.yml + build_script: - cmd: >- for /f %%i in ('"cygpath %CD%"') do set MINGWPATH=%%i