summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/luv/appveyor.yml
blob: b8d018985737305c51855ae9ecdd986589b8b78e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
os: Visual Studio 2015

# Test with the latest two releases of MSVC
configuration:
  - 2015
  - 2013

# Test with the latest Lua and LuaJIT versions
environment:
  LUAROCKS_VER: 2.3.0
  matrix:
  - LUA_VER: 5.3.2
    NOCOMPAT: true  # with compatibility flags disabled.
  - LJ_VER: 2.1

platform:
  - x86
  - x64

matrix:
  fast_finish: true

cache:
  - c:\lua -> appveyor.yml
  - c:\external -> appveyor.yml

install:
  - git submodule update --init

build_script:
  - msvcbuild.bat
  - luajit.exe tests\run.lua
  # Test rock installation
  - call .ci\set_compiler_env.bat
  - call .ci\install.bat
  - luarocks make
  - ps: if("$(Get-Location)" -eq $(lua -e "print(require'luv'.cwd())")) { "LuaRocks test OK" } else { "LuaRocks test failed"; exit 1 }
  - luarocks remove luv

artifacts:
  - path: luv.dll
  - path: luajit.exe