diff --git a/package/ci/appveyor-cache-reset.txt b/package/ci/appveyor-cache-reset.txt new file mode 100644 index 000000000..f7416fddf --- /dev/null +++ b/package/ci/appveyor-cache-reset.txt @@ -0,0 +1,3 @@ +# Increase this number every time you want to reset AppVeyor cache. +# http://help.appveyor.com/discussions/questions/1310-delete-cache +0 diff --git a/package/ci/appveyor.yml b/package/ci/appveyor.yml index e621edb13..1278cc92d 100644 --- a/package/ci/appveyor.yml +++ b/package/ci/appveyor.yml @@ -60,7 +60,11 @@ notifications: on_build_status_changed: true install: -- cinst ninja +# Ninja. `cinst ninja` started 503ing in late November 2019 and wasn't really +# reliable before either. So install by hand, as that's reliable always. +- IF NOT EXIST %APPVEYOR_BUILD_FOLDER%\ninja-win.zip appveyor DownloadFile https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip +- 7z x ninja-win.zip -oC:/tools/ninja + - set PATH=C:/tools/ninja;%PATH% - IF "%TARGET%" == "desktop" IF "%COMPILER%" == "mingw" pip install codecov @@ -101,7 +105,8 @@ build_script: - IF "%TARGET%" == "rt" call package\ci\appveyor-rt.bat cache: -- SDL2-devel-2.0.9-VC.zip -- SDL2-devel-2.0.9-mingw.zip -- openal-soft-1.19.1-bin.zip -- glfw-3.2.1.bin.WIN64.zip +- ninja-win.zip -> package/ci/appveyor-cache-reset.txt +- SDL2-devel-2.0.9-VC.zip -> package/ci/appveyor-cache-reset.txt +- SDL2-devel-2.0.9-mingw.zip -> package/ci/appveyor-cache-reset.txt +- openal-soft-1.19.1-bin.zip -> package/ci/appveyor-cache-reset.txt +- glfw-3.2.1.bin.WIN64.zip -> package/ci/appveyor-cache-reset.txt