Update AppVeyor to also run the testsuite.

This commit is contained in:
Markus F.X.J. Oberhumer
2016-09-28 21:45:58 +02:00
parent 490e7a56a5
commit 85a5759afb
3 changed files with 60 additions and 46 deletions
+5
View File
@@ -40,6 +40,8 @@ install:
build_script:
- set B=release
- cd c:\projects\upx
# - if "%C%"=="gcc-m64" ( bash -x ./.github/travis_build.sh && exit 0 ) # TODO
- set DEFS=-D_CRT_SECURE_NO_WARNINGS
- set BDIR=c:\projects\build\%C%\%B%
- mkdir %BDIR% %BDIR%\ucl-1.03 %BDIR%\upx %BDIR%\upx-testsuite %BDIR%\zlib-1.2.8
@@ -54,11 +56,14 @@ build_script:
- set s=c:\projects\upx\src
- cl -MT -EHsc -O2 -W4 -wd4244 %DEFS% -DWITH_LZMA=0x443 -DUCL_NO_ASM -I%s%\lzma-sdk -Ic:\projects\deps\ucl-1.03\include -Ic:\projects\deps\zlib-1.2.8 -Feupx.exe %s%\*.cpp %BDIR%\ucl-1.03\ucl.lib %BDIR%\zlib-1.2.8\zlib.lib
test_script:
- cd %BDIR%\upx
- .\upx.exe --version
- .\upx.exe upx.exe -o upx_packed.exe
- dir *.exe
- .\upx_packed.exe --version
- cd c:\projects\upx
- bash ./.github/travis_testsuite_1.sh
# vim:set ts=2 sw=2 et: