aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml46
1 files changed, 29 insertions, 17 deletions
diff --git a/appveyor.yml b/appveyor.yml
index ddd651c..9717ebe 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,17 +1,25 @@
1version: 0.0.1.{build}-test 1version: 0.0.1.{build}-test
2 2
3# Use default image unless needed
4#os:
5#- Windows Server 2012 R2
6
7shallow_clone: true 3shallow_clone: true
8 4
5matrix:
6 fast_finish: true
7
9environment: 8environment:
10 matrix: 9 matrix:
11 - LUA: "lua 5.1" 10 - LUAT: "lua"
12 - LUA: "lua 5.2 --compat none" 11 LUAV: "5.1"
13 - LUA: "lua 5.3 --compat none" 12 - LUAT: "lua"
14 - LUA: "luajit 2.1" 13 LUAV: "5.2"
14 HEREROCKS_FLAGS: "--compat none"
15 - LUAT: "lua"
16 LUAV: "5.3"
17 HEREROCKS_FLAGS: "--compat none"
18 - LUAT: "lua"
19 LUAV: "5.4"
20 HEREROCKS_FLAGS: "--compat none"
21 - LUAT: "luajit"
22 LUAV: "2.1"
15 23
16# Abuse this section so we can have a matrix with different Compiler versions 24# Abuse this section so we can have a matrix with different Compiler versions
17configuration: 25configuration:
@@ -19,14 +27,14 @@ configuration:
19 - vs_32 27 - vs_32
20 - vs_64 28 - vs_64
21 29
22install:
23 - set PATH=%CD%\env\bin;C:\Python27\Scripts;C:\MinGW\bin;%PATH%
24 - pip install hererocks
25 - hererocks env --%LUA% --target %configuration% --luarocks latest
26
27before_build: 30before_build:
28# @todo 31 - set PATH=C:\MinGW\bin;%PATH%
29- echo "Installing external deps" 32 - set PATH=C:\Python37;C:\Python37\Scripts;%PATH% # Add directory containing 'pip' to PATH
33 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install --upgrade certifi )
34 - FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "import certifi;print(certifi.where())"`) DO ( SET SSL_CERT_FILE=%%F )
35 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install hererocks )
36 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( hererocks lua_install-%LUAV% --%LUAT% %LUAV% %HEREROCKS_FLAGS% --luarocks latest --target=%configuration% )
37 - call lua_install-%LUAV%\bin\activate
30 38
31build_script: 39build_script:
32- luarocks make 40- luarocks make
@@ -37,5 +45,9 @@ test_script:
37- echo "Testing..." 45- echo "Testing..."
38- lua tests/test.lua 46- lua tests/test.lua
39 47
40after_test: 48cache:
41# @todo 49 - lua_install-5.4
50 - lua_install-5.3
51 - lua_install-5.2
52 - lua_install-5.1
53 - lua_install-2.1