CI/AppVeyor: per-compiler deps cache #9852

The deps cache does not work for MSVC builds because the MINGW builds
ovewrite it.  Cache saves 10+ minutes on the build.
This commit is contained in:
Justin M. Keyes
2019-04-07 03:54:22 +02:00
committed by GitHub
parent 805b5f2e1e
commit a7a56293aa
4 changed files with 18 additions and 10 deletions

View File

@@ -1,7 +1,5 @@
local deps_prefix = './.deps/usr'
if os.getenv('DEPS_PREFIX') then
deps_prefix = os.getenv('DEPS_PREFIX')
end
local deps_prefix = (os.getenv('DEPS_PREFIX') and os.getenv('DEPS_PREFIX')
or './.deps/usr')
package.path = deps_prefix .. '/share/lua/5.1/?.lua;' ..
deps_prefix .. '/share/lua/5.1/?/init.lua;' ..