To be cached the file must be downloaded in the project root, previously they were downloaded directly in tools_tmp. Also it seems like sourceforge link doewn't work anymore with CLI tool
This commit is contained in:
parent
4c705aa63b
commit
9d8f0c6a22
|
@ -212,12 +212,10 @@ environment:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- MKDIR %CD%\tools_tmp
|
- MKDIR %CD%\tools_tmp
|
||||||
- cd tools_tmp
|
|
||||||
- IF not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%"
|
- IF not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%"
|
||||||
- 7z x -y "%MINGW_ARCHIVE%" > nul
|
- 7z x -y "%MINGW_ARCHIVE%" -o"%CD%\tools_tmp"> nul
|
||||||
- IF not exist "%NIM_ARCHIVE%" appveyor DownloadFile "%NIM_URL%" -FileName "%NIM_ARCHIVE%"
|
- IF not exist "%NIM_ARCHIVE%" appveyor DownloadFile "%NIM_URL%" -FileName "%NIM_ARCHIVE%"
|
||||||
- 7z x -y "%NIM_ARCHIVE%" > nul
|
- 7z x -y "%NIM_ARCHIVE%" -o"%CD%\tools_tmp"> nul
|
||||||
- cd ..
|
|
||||||
- SET PATH=%CD%\tools_tmp\%NIM_DIR%\bin;%CD%\tools_tmp\%MINGW_DIR%\bin;%PATH%
|
- SET PATH=%CD%\tools_tmp\%NIM_DIR%\bin;%CD%\tools_tmp\%MINGW_DIR%\bin;%PATH%
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
|
@ -230,4 +228,4 @@ test_script:
|
||||||
deploy: off
|
deploy: off
|
||||||
----
|
----
|
||||||
|
|
||||||
|
You may encounter an issue with Sourceforge download and download just a webpage. In that case replace the generic URL by a direct link into a mirror like 'https://ayera.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/seh/x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z'
|
||||||
|
|
Loading…
Reference in New Issue