summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2022-04-16 18:53:07 -0300
committerHisham Muhammad <hisham@gobolinux.org>2022-04-16 21:17:34 -0300
commit0f82063a51cd9197edd214e0427fe4e84ae9c0b9 (patch)
tree90b1f09e2504e8eb97209af4ec24e7ab6fdfbb17 /appveyor.yml
parenta405d1a5f6c9eb7249a9271ca23ff1f701f91cfe (diff)
downloadluarocks-0f82063a51cd9197edd214e0427fe4e84ae9c0b9.tar.gz
luarocks-0f82063a51cd9197edd214e0427fe4e84ae9c0b9.tar.bz2
luarocks-0f82063a51cd9197edd214e0427fe4e84ae9c0b9.zip
tests: run tests on Lua 5.4 and LuaJIT 2.1
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml56
1 files changed, 10 insertions, 46 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 7011c80c..b084cff5 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -9,50 +9,18 @@ environment:
9 LUAROCKS_VER: 3.0.0 9 LUAROCKS_VER: 3.0.0
10 10
11 matrix: 11 matrix:
12 # Lua 5.1 tests 12 # Lua 5.4 tests
13 - LUAV: "5.1" 13 - LUAV: "5.4"
14 LUAT: "lua" 14 LUAT: "lua"
15 COMPILER: "vs" 15 COMPILER: "vs"
16 FILES: "" 16 FILES: ""
17 EXCLUDE: "integration" 17 EXCLUDE: "integration"
18 - LUAV: "5.1" 18 - LUAV: "5.4"
19 LUAT: "lua" 19 LUAT: "lua"
20 COMPILER: "vs" 20 COMPILER: "vs"
21 FILES: "" 21 FILES: ""
22 EXCLUDE: "unit" 22 EXCLUDE: "unit"
23 - LUAV: "5.1" 23 - LUAV: "5.4"
24 LUAT: "lua"
25 COMPILER: "mingw"
26 FILES: "spec//build_spec.lua"
27 EXCLUDE: ""
28 # Lua 5.2 tests
29 - LUAV: "5.2"
30 LUAT: "lua"
31 COMPILER: "vs"
32 FILES: ""
33 EXCLUDE: "integration"
34 - LUAV: "5.2"
35 LUAT: "lua"
36 COMPILER: "vs"
37 FILES: ""
38 EXCLUDE: "unit"
39 - LUAV: "5.2"
40 LUAT: "lua"
41 COMPILER: "mingw"
42 FILES: "spec//build_spec.lua"
43 EXCLUDE: ""
44 # Lua 5.3 tests
45 - LUAV: "5.3"
46 LUAT: "lua"
47 COMPILER: "vs"
48 FILES: ""
49 EXCLUDE: "integration"
50 - LUAV: "5.3"
51 LUAT: "lua"
52 COMPILER: "vs"
53 FILES: ""
54 EXCLUDE: "unit"
55 - LUAV: "5.3"
56 LUAT: "lua" 24 LUAT: "lua"
57 COMPILER: "mingw" 25 COMPILER: "mingw"
58 FILES: "spec//build_spec.lua" 26 FILES: "spec//build_spec.lua"
@@ -82,7 +50,9 @@ init:
82- set PATH=C:\MinGW\bin;%PATH% 50- set PATH=C:\MinGW\bin;%PATH%
83 51
84before_build: 52before_build:
85 - set PATH=C:\Python37\Scripts;%PATH% # Add directory containing 'pip' to PATH 53 - set PATH=C:\Python37;C:\Python37\Scripts;%PATH% # Add directory containing 'pip' to PATH
54 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install --upgrade certifi )
55 - FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "import certifi;print(certifi.where())"`) DO ( SET SSL_CERT_FILE=%%F )
86 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install hererocks ) 56 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install hererocks )
87 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( hererocks lua_install-%LUAV% --%LUAT% %LUAV% --luarocks latest --target=%COMPILER% ) 57 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( hererocks lua_install-%LUAV% --%LUAT% %LUAV% --luarocks latest --target=%COMPILER% )
88 - call lua_install-%LUAV%\bin\activate 58 - call lua_install-%LUAV%\bin\activate
@@ -101,16 +71,10 @@ after_test:
101 - cd testrun && codecov -f luacov.report.out -X gcov 71 - cd testrun && codecov -f luacov.report.out -X gcov
102 72
103cache: 73cache:
104 - lua_install-5.1 74 - lua_install-5.4
105 - lua_install-5.2
106 - lua_install-5.3
107 - lua_install-2.1 75 - lua_install-2.1
108 - testrun/testing_cache-5.1 76 - testrun/testing_cache-5.4
109 - testrun/testing_cache-5.2
110 - testrun/testing_cache-5.3
111 - testrun/testing_cache-2.1 77 - testrun/testing_cache-2.1
112 - testrun/testing_server-5.1 78 - testrun/testing_server-5.4
113 - testrun/testing_server-5.2
114 - testrun/testing_server-5.3
115 - testrun/testing_server-2.1 79 - testrun/testing_server-2.1
116 - testrun/binary-samples 80 - testrun/binary-samples