hererocks/appveyor.yml
mpeterv eb7f0d55fc Windows: replace cl target with vsXX_YY targets
When using vsXX_YY target, set up paths for Visual Studio 20XX
(YY bits) by writing a temporary batch file that calls appropriate
vcvarsall.bat and calls hererocks again, passing arguments through
another temporary file because escaping special batch characters
is difficult.

Related changes:
* Default target on Windows is now vs15_32, unless gcc is in PATH
  and cl.exe isn't.
* Fixed mingw LuaJIT build attempting to install lua51.lib which isn't built.
* Fixed list flatten in run(): consider unicode strings.
2016-04-02 13:18:10 +03:00

25 lines
428 B
YAML

version: 1.0.{build}
shallow_clone: true
environment:
matrix:
- Lua: lua 5.3
- Lua: luajit 2.0
configuration:
- vs08_32
- vs15_64
- mingw
build_script:
- PATH %CD%\here\bin;C:\mingw\bin;%PATH%
- python hererocks.py here --%Lua% --luarocks ^^ --verbose --target=%Configuration%
test_script:
- lua -v
- luarocks --version
- luarocks install lua-term 0.3
- luarocks install busted
- busted --version