diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-05-30 11:09:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-30 11:09:06 (GMT) |
commit | 6ce66ff508b4736d6bd5d6a381786ac44a367fd3 (patch) | |
tree | 4c0639c8a14a28006d9791b854e1596b66a9eedd | |
parent | 7b745c4b8182430d3eacde1cb1520730fee1b01e (diff) | |
parent | 45c65d2895e94abd0a64193565f4a9ae20272b8e (diff) | |
download | Doxygen-6ce66ff508b4736d6bd5d6a381786ac44a367fd3.zip Doxygen-6ce66ff508b4736d6bd5d6a381786ac44a367fd3.tar.gz Doxygen-6ce66ff508b4736d6bd5d6a381786ac44a367fd3.tar.bz2 |
Merge pull request #7014 from cmorty/merge/appveyor
Speed up AppVeyor build by using miktex setup tool and activating build cache
-rw-r--r-- | appveyor.yml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/appveyor.yml b/appveyor.yml index 721c4e9..d18474f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,25 +14,25 @@ environment: - VSVERSION: "15 2017" - VSVERSION: "14 2015" +cache: + - C:\Users\Appveyor\.conan -> appveyor.yml + - c:\.conan -> appveyor.yml + - '%LOCALAPPDATA%\pip\Cache -> appveyor.yml' + - C:\miktex-repository -> appveyor.yml + + init: - cmake --version - perl --version - msbuild /version install: - - appveyor DownloadFile https://miktex.org/download/win/basic-miktex-x32.exe - - basic-miktex-x32.exe --unattended --shared -# Disabled this due to too slow download -# - ps: Invoke-WebRequest http://doxygen.nl/testing/miktex.zip -OutFile miktex.zip -# - 7z x miktex.zip -oC:\deps\miktex -# Disabled MikTeX installed due to unreliable download -# - ps: Invoke-WebRequest https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs924/gs924w32.exe -OutFile gswin32c.exe -# - gswin32c /S /D=C:\deps\ghostscript -# - ps: if($env:platform -eq "x64") { Invoke-WebRequest https://miktex.org/download/win/miktexsetup-x64.zip -OutFile miktexsetup.zip } -# - ps: if($env:platform -eq "Win32") { Invoke-WebRequest https://miktex.org/download/win/miktexsetup-x86.zip -OutFile miktexsetup.zip } -# - 7z x miktexsetup.zip -oC:\tmpmiktex -# - C:\tmpmiktex\miktexsetup --local-package-repository=C:\temp\miktex --package-set=basic download -# - C:\tmpmiktex\miktexsetup --verbose --local-package-repository=C:\temp\miktex --package-set=basic install + # Static url: https://github.com/MiKTeX/miktex/issues/321#issuecomment-496286866 + # The setup is small enough, and does not need to be cached + - appveyor DownloadFile https://miktex.org/download/win/miktexsetup-x64.zip + - 7z e miktexsetup-x64.zip + - miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential download + - miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential --shared install - refreshenv - pip install conan - ps: | @@ -41,7 +41,6 @@ install: winflexbison/2.5.16@bincrafters/stable" | Out-File -Encoding ASCII -FilePath conanfile.txt - conan install . -g virtualrunenv --build missing - activate_run.bat - - set "PATH=%PATH%;C:\deps\ghostscript\bin;C:\deps\miktex\miktex\bin" before_build: - if "%platform%"=="Win32" ( set "CMAKE_GENERATOR_NAME=Visual Studio %VSVERSION%" ) |