aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-03-05 23:00:38 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-03-06 04:59:29 -0300
commitd44d437b681effe6818552372bd419fab2d0c13b (patch)
tree99589bb4e91004c69cfc66990b0cae3786824629
parentcc73e0ded1a24805821d78c9ca4d8593b03189fe (diff)
downloadluarocks-test-windows-rock-manifest-slash.tar.gz
luarocks-test-windows-rock-manifest-slash.tar.bz2
luarocks-test-windows-rock-manifest-slash.zip
tests(windows): run unit tests with full envtest-windows-rock-manifest-slash
-rw-r--r--appveyor.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c709cbe6..5b7493df 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -22,6 +22,7 @@ environment:
22 COMPILER: "vs" 22 COMPILER: "vs"
23 FILES: "" 23 FILES: ""
24 EXCLUDE: "integration,quick" 24 EXCLUDE: "integration,quick"
25 TESTTYPE: "unit"
25 - LUAV: "5.4" 26 - LUAV: "5.4"
26 LUAT: "lua" 27 LUAT: "lua"
27 COMPILER: "vs" 28 COMPILER: "vs"
@@ -38,6 +39,7 @@ environment:
38 COMPILER: "vs" 39 COMPILER: "vs"
39 FILES: "" 40 FILES: ""
40 EXCLUDE: "integration,quick" 41 EXCLUDE: "integration,quick"
42 TESTTYPE: "unit"
41 - LUAV: "2.1" 43 - LUAV: "2.1"
42 LUAT: "luajit" 44 LUAT: "luajit"
43 COMPILER: "vs" 45 COMPILER: "vs"
@@ -63,6 +65,16 @@ before_build:
63 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install hererocks ) 65 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install hererocks )
64 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( hererocks lua_install-%LUAV% --%LUAT% %LUAV% --luarocks latest --target=%COMPILER% ) 66 - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( hererocks lua_install-%LUAV% --%LUAT% %LUAV% --luarocks latest --target=%COMPILER% )
65 - call lua_install-%LUAV%\bin\activate 67 - call lua_install-%LUAV%\bin\activate
68 - nuget install bzip2 -OutputDirectory deps\bzip2
69 - nuget install zlib -OutputDirectory deps\zlib
70 - mkdir c:\external\include
71 - mkdir c:\external\lib
72 - copy deps\bzip2\bzip2.1.0.6.11\build\native\include\bzlib.h c:\external\include
73 - copy deps\bzip2\bzip2.1.0.6.11\build\native\lib\v110\win32\Debug\dynamic\cdecl\libbz2.lib c:\external\lib\bz2.lib
74 - copy deps\bzip2\bzip2.redist.1.0.6.11\build\native\bin\v110\win32\Debug\dynamic\cdecl\libbz2.dll c:\external\lib\bz2.dll
75 - copy deps\zlib\zlib.v120.windesktop.msvcstl.dyn.rt-dyn.1.2.8.8\build\native\include\*.h c:\external\include
76 - copy deps\zlib\zlib.v120.windesktop.msvcstl.dyn.rt-dyn.1.2.8.8\lib\native\v120\windesktop\msvcstl\dyn\rt-dyn\Win32\MinSizeRel\zlib.dll c:\external\lib\z.dll
77 - copy deps\zlib\zlib.v120.windesktop.msvcstl.dyn.rt-dyn.1.2.8.8\lib\native\v120\windesktop\msvcstl\dyn\rt-dyn\Win32\MinSizeRel\zlib.lib c:\external\lib\z.lib
66 78
67build_script: 79build_script:
68 - IF NOT EXIST lua_install-%LUAV%\bin\busted.bat ( luarocks install busted 1> NUL 2> NUL ) 80 - IF NOT EXIST lua_install-%LUAV%\bin\busted.bat ( luarocks install busted 1> NUL 2> NUL )
@@ -71,6 +83,7 @@ build_script:
71 83
72test_script: 84test_script:
73 - busted -o htest -v --lpath=.//?.lua --exclude-tags=ssh,unix,%EXCLUDE% -Xhelper lua_dir=%CD%\lua_install-%LUAV%,appveyor,%COMPILER% %FILES% 85 - busted -o htest -v --lpath=.//?.lua --exclude-tags=ssh,unix,%EXCLUDE% -Xhelper lua_dir=%CD%\lua_install-%LUAV%,appveyor,%COMPILER% %FILES%
86 - IF "%TESTTYPE%"=="unit" ( busted -o htest -v --lpath=.//?.lua --exclude-tags=ssh,unix,%EXCLUDE% -Xhelper lua_dir=%CD%\lua_install-%LUAV%,appveyor,%COMPILER%,env=full %FILES% )
74 87
75after_test: 88after_test:
76 - pip install codecov 89 - pip install codecov