blob: dd2c02ac48264c05b8bbb637abe3070cabe99af3 [file] [log] [blame]
Yann Collet03ef7b72019-10-18 14:52:16 -07001# Following tests are run _only_ on master branch
2# To reproduce these tests, it's possible to push into a branch `appveyorTest`
3# or a branch `visual*`, they will intentionnally trigger `master` tests
4
Sean Purcell5a2b8572017-03-14 15:59:57 -07005-
6 version: 1.0.{build}
7 branches:
8 only:
Sean Purcell5a2b8572017-03-14 15:59:57 -07009 - master
Yann Collet7df0d6f2018-12-25 14:20:33 -080010 - appveyorTest
Yann Colletecd4df42018-12-25 14:55:45 -080011 - /visual*/
Sean Purcell5a2b8572017-03-14 15:59:57 -070012 environment:
13 matrix:
14 - COMPILER: "gcc"
15 HOST: "mingw"
16 PLATFORM: "x64"
Yann Collet63aebdf2017-12-27 19:27:54 +010017 SCRIPT: "make allzstd MOREFLAGS=-static && make -C tests test-symbols fullbench-lib"
Sean Purcell5a2b8572017-03-14 15:59:57 -070018 ARTIFACT: "true"
Sean Purcell8d2c6392017-03-24 11:45:02 -070019 BUILD: "true"
Sean Purcell5a2b8572017-03-14 15:59:57 -070020 - COMPILER: "gcc"
21 HOST: "mingw"
22 PLATFORM: "x86"
Yann Colletc7818fc2017-08-31 17:00:16 -070023 SCRIPT: "make allzstd MOREFLAGS=-static"
Sean Purcell5a2b8572017-03-14 15:59:57 -070024 ARTIFACT: "true"
Sean Purcell8d2c6392017-03-24 11:45:02 -070025 BUILD: "true"
Sean Purcell5a2b8572017-03-14 15:59:57 -070026 - COMPILER: "clang"
27 HOST: "mingw"
28 PLATFORM: "x64"
Yann Collet8e298382017-08-31 14:30:52 -070029 SCRIPT: "MOREFLAGS='--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion' make allzstd"
Sean Purcell8d2c6392017-03-24 11:45:02 -070030 BUILD: "true"
inikep5e334be2016-05-18 09:07:28 +020031
Sean Purcell5a2b8572017-03-14 15:59:57 -070032 - COMPILER: "gcc"
33 HOST: "mingw"
34 PLATFORM: "x64"
35 SCRIPT: ""
36 TEST: "cmake"
37
Sean Purcell5a2b8572017-03-14 15:59:57 -070038 - COMPILER: "visual"
39 HOST: "visual"
40 PLATFORM: "x64"
41 CONFIGURATION: "Debug"
42 - COMPILER: "visual"
43 HOST: "visual"
44 PLATFORM: "Win32"
45 CONFIGURATION: "Debug"
46 - COMPILER: "visual"
47 HOST: "visual"
48 PLATFORM: "x64"
49 CONFIGURATION: "Release"
50 - COMPILER: "visual"
51 HOST: "visual"
52 PLATFORM: "Win32"
53 CONFIGURATION: "Release"
54
55 install:
inikep96abb5a2016-05-19 15:50:58 +020056 - ECHO Installing %COMPILER% %PLATFORM% %CONFIGURATION%
Sean Purcell5a2b8572017-03-14 15:59:57 -070057 - SET PATH_ORIGINAL=%PATH%
58 - if [%HOST%]==[mingw] (
Sean Purcellfcc55cc2017-03-29 13:08:10 -070059 SET "PATH_MINGW32=C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin" &&
60 SET "PATH_MINGW64=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin" &&
61 COPY C:\msys64\usr\bin\make.exe C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin\make.exe &&
62 COPY C:\msys64\usr\bin\make.exe C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin\make.exe
Sean Purcell5a2b8572017-03-14 15:59:57 -070063 )
64 - IF [%HOST%]==[visual] IF [%PLATFORM%]==[x64] (
65 SET ADDITIONALPARAM=/p:LibraryPath="C:\Program Files\Microsoft SDKs\Windows\v7.1\lib\x64;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\lib\amd64;"
inikep5e334be2016-05-18 09:07:28 +020066 )
inikep7c4d0412016-05-16 14:48:04 +020067
Sean Purcell5a2b8572017-03-14 15:59:57 -070068 build_script:
69 - if [%HOST%]==[mingw] (
70 ( if [%PLATFORM%]==[x64] (
71 SET "PATH=%PATH_MINGW64%;%PATH_ORIGINAL%"
72 ) else if [%PLATFORM%]==[x86] (
73 SET "PATH=%PATH_MINGW32%;%PATH_ORIGINAL%"
Sean Purcell8d2c6392017-03-24 11:45:02 -070074 ) )
75 )
76 - if [%HOST%]==[mingw] if [%BUILD%]==[true] (
inikep0a0403d2016-07-19 12:23:32 +020077 make -v &&
Sean Purcell5a2b8572017-03-14 15:59:57 -070078 sh -c "%COMPILER% -v" &&
Sean Purcell8d2c6392017-03-24 11:45:02 -070079 ECHO Building zlib to static link &&
80 SET "CC=%COMPILER%" &&
81 sh -c "cd .. && git clone --depth 1 --branch v1.2.11 https://github.com/madler/zlib" &&
82 sh -c "cd ../zlib && make -f win32/Makefile.gcc libz.a"
83 ECHO Building zstd &&
84 SET "CPPFLAGS=-I../../zlib" &&
85 SET "LDFLAGS=../../zlib/libz.a" &&
86 sh -c "%SCRIPT%" &&
Sean Purcellfcc55cc2017-03-29 13:08:10 -070087 ( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true]
Yann Collet92960812018-03-23 15:00:04 -070088 ECHO Creating artifacts &&
Yann Colleta75104d2018-03-23 16:27:28 -070089 ECHO %cd% &&
Sean Purcellfcc55cc2017-03-29 13:08:10 -070090 lib\dll\example\build_package.bat &&
Sean Purcelle128ac02017-04-06 10:15:32 -070091 make -C programs DEBUGFLAGS= clean zstd &&
Yann Collet36153af2017-05-04 17:40:40 -070092 cd programs\ && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&
Yann Collet9203dab2017-05-04 17:30:37 -070093 appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip &&
Yann Collet36153af2017-05-04 17:40:40 -070094 cp zstd.exe ..\bin\zstd.exe &&
Yann Colletfa294b82018-03-23 17:20:05 -070095 git clone --depth 1 --branch master https://github.com/facebook/zstd &&
96 cd zstd &&
97 git archive --format=tar master -o zstd-src.tar &&
98 ..\zstd -19 zstd-src.tar &&
99 appveyor PushArtifact zstd-src.tar.zst &&
Yann Collet4d753b02018-03-24 09:55:13 -0700100 certUtil -hashfile zstd-src.tar.zst SHA256 > zstd-src.tar.zst.sha256.sig &&
101 appveyor PushArtifact zstd-src.tar.zst.sha256.sig &&
Yann Colletfa294b82018-03-23 17:20:05 -0700102 cd ..\..\bin\ &&
103 7z a -tzip -mx9 zstd-win-release-%PLATFORM%.zip * &&
Sean Purcellfcc55cc2017-03-29 13:08:10 -0700104 appveyor PushArtifact zstd-win-release-%PLATFORM%.zip
105 )
inikepf3302152016-05-18 16:38:36 +0200106 )
Sean Purcell5a2b8572017-03-14 15:59:57 -0700107 - if [%HOST%]==[visual] (
inikep5e334be2016-05-18 09:07:28 +0200108 ECHO *** &&
inikep70ce21f2016-08-10 14:17:28 +0200109 ECHO *** Building Visual Studio 2008 %PLATFORM%\%CONFIGURATION% in %APPVEYOR_BUILD_FOLDER% &&
inikep5e334be2016-05-18 09:07:28 +0200110 ECHO *** &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200111 msbuild "build\VS2008\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v90 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
112 DIR build\VS2008\bin\%PLATFORM%\%CONFIGURATION%\*.exe &&
113 MD5sum build/VS2008/bin/%PLATFORM%/%CONFIGURATION%/*.exe &&
114 COPY build\VS2008\bin\%PLATFORM%\%CONFIGURATION%\fuzzer.exe tests\fuzzer_VS2008_%PLATFORM%_%CONFIGURATION%.exe &&
inikep5e334be2016-05-18 09:07:28 +0200115 ECHO *** &&
116 ECHO *** Building Visual Studio 2010 %PLATFORM%\%CONFIGURATION% &&
117 ECHO *** &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200118 msbuild "build\VS2010\zstd.sln" %ADDITIONALPARAM% /m /verbosity:minimal /property:PlatformToolset=v100 /p:ForceImportBeforeCppTargets=%APPVEYOR_BUILD_FOLDER%\build\VS2010\CompileAsCpp.props /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
Przemyslaw Skibinskicba727c2016-11-14 15:59:57 +0100119 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
120 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200121 msbuild "build\VS2010\zstd.sln" %ADDITIONALPARAM% /m /verbosity:minimal /property:PlatformToolset=v100 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
Przemyslaw Skibinskicba727c2016-11-14 15:59:57 +0100122 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
123 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
124 COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\fuzzer.exe tests\fuzzer_VS2010_%PLATFORM%_%CONFIGURATION%.exe &&
inikep5e334be2016-05-18 09:07:28 +0200125 ECHO *** &&
126 ECHO *** Building Visual Studio 2012 %PLATFORM%\%CONFIGURATION% &&
127 ECHO *** &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200128 msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v110 /p:ForceImportBeforeCppTargets=%APPVEYOR_BUILD_FOLDER%\build\VS2010\CompileAsCpp.props /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
Przemyslaw Skibinskicba727c2016-11-14 15:59:57 +0100129 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
130 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200131 msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v110 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
Przemyslaw Skibinskicba727c2016-11-14 15:59:57 +0100132 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
133 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
134 COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\fuzzer.exe tests\fuzzer_VS2012_%PLATFORM%_%CONFIGURATION%.exe &&
inikep5e334be2016-05-18 09:07:28 +0200135 ECHO *** &&
136 ECHO *** Building Visual Studio 2013 %PLATFORM%\%CONFIGURATION% &&
137 ECHO *** &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200138 msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v120 /p:ForceImportBeforeCppTargets=%APPVEYOR_BUILD_FOLDER%\build\VS2010\CompileAsCpp.props /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
Przemyslaw Skibinskicba727c2016-11-14 15:59:57 +0100139 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
140 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200141 msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v120 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
Przemyslaw Skibinskicba727c2016-11-14 15:59:57 +0100142 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
143 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
144 COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\fuzzer.exe tests\fuzzer_VS2013_%PLATFORM%_%CONFIGURATION%.exe &&
inikep5e334be2016-05-18 09:07:28 +0200145 ECHO *** &&
146 ECHO *** Building Visual Studio 2015 %PLATFORM%\%CONFIGURATION% &&
147 ECHO *** &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200148 msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /p:ForceImportBeforeCppTargets=%APPVEYOR_BUILD_FOLDER%\build\VS2010\CompileAsCpp.props /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
Przemyslaw Skibinskicba727c2016-11-14 15:59:57 +0100149 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
150 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
Yann Collet4c9a4c12016-09-19 14:58:14 +0200151 msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
Przemyslaw Skibinskicba727c2016-11-14 15:59:57 +0100152 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
153 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
154 COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\fuzzer.exe tests\fuzzer_VS2015_%PLATFORM%_%CONFIGURATION%.exe &&
155 COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe tests\
inikep5e334be2016-05-18 09:07:28 +0200156 )
inikep7c4d0412016-05-16 14:48:04 +0200157
Sean Purcell5a2b8572017-03-14 15:59:57 -0700158 test_script:
inikep96abb5a2016-05-19 15:50:58 +0200159 - ECHO Testing %COMPILER% %PLATFORM% %CONFIGURATION%
Sean Purcelldd79c5c2017-03-29 14:40:11 -0700160 - SET "CC=gcc"
161 - SET "CXX=g++"
Sean Purcell5a2b8572017-03-14 15:59:57 -0700162 - if [%TEST%]==[cmake] (
Przemyslaw Skibinskicb8d2d92017-02-10 12:01:14 +0100163 mkdir build\cmake\build &&
164 cd build\cmake\build &&
165 cmake -G "Visual Studio 14 2015 Win64" .. &&
166 cd ..\..\.. &&
Sean Purcell5a2b8572017-03-14 15:59:57 -0700167 make clean
168 )
Yann Colletc6915422017-04-27 16:24:53 -0700169 - SET "FUZZERTEST=-T30s"
Sean Purcell5a2b8572017-03-14 15:59:57 -0700170 - if [%HOST%]==[visual] if [%CONFIGURATION%]==[Release] (
inikep7feafdd2016-08-18 15:17:18 +0200171 CD tests &&
inikep1dcb2ff2016-05-30 11:33:52 +0200172 SET ZSTD=./zstd.exe &&
inikep1dcb2ff2016-05-30 11:33:52 +0200173 sh -e playTests.sh --test-large-data &&
inikepd57b4182016-05-31 11:46:16 +0200174 fullbench.exe -i1 &&
175 fullbench.exe -i1 -P0 &&
inikep7feafdd2016-08-18 15:17:18 +0200176 fuzzer_VS2012_%PLATFORM%_Release.exe %FUZZERTEST% &&
177 fuzzer_VS2013_%PLATFORM%_Release.exe %FUZZERTEST% &&
178 fuzzer_VS2015_%PLATFORM%_Release.exe %FUZZERTEST%
inikep5e334be2016-05-18 09:07:28 +0200179 )
inikepe9ae30a2016-09-12 14:17:26 +0200180
Yann Collet03ef7b72019-10-18 14:52:16 -0700181
182# The following tests are for regular pushes
183# into `dev` or some feature branch
184# There run less tests, for shorter feedback loop
185
Sean Purcell5a2b8572017-03-14 15:59:57 -0700186-
187 version: 1.0.{build}
Sean Purcell5a2b8572017-03-14 15:59:57 -0700188 environment:
189 matrix:
190 - COMPILER: "gcc"
191 HOST: "mingw"
192 PLATFORM: "x64"
cyan49733f535002018-07-30 16:56:18 +0200193 SCRIPT: "CPPFLAGS=-DDEBUGLEVEL=2 CFLAGS=-Werror make -j allzstd DEBUGLEVEL=2"
Sean Purcell5a2b8572017-03-14 15:59:57 -0700194 - COMPILER: "gcc"
195 HOST: "mingw"
196 PLATFORM: "x86"
cyan4973e85b4c52018-07-30 17:08:40 +0200197 SCRIPT: "CFLAGS=-Werror make -j allzstd"
Sean Purcell5a2b8572017-03-14 15:59:57 -0700198 - COMPILER: "clang"
199 HOST: "mingw"
200 PLATFORM: "x64"
cyan4973e85b4c52018-07-30 17:08:40 +0200201 SCRIPT: "CFLAGS='--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion' make -j allzstd"
Sean Purcelldaec40d2017-03-07 12:08:15 -0800202
Sean Purcell5a2b8572017-03-14 15:59:57 -0700203 - COMPILER: "visual"
204 HOST: "visual"
205 PLATFORM: "x64"
206 CONFIGURATION: "Debug"
207 - COMPILER: "visual"
208 HOST: "visual"
209 PLATFORM: "Win32"
210 CONFIGURATION: "Debug"
211 - COMPILER: "visual"
212 HOST: "visual"
213 PLATFORM: "x64"
214 CONFIGURATION: "Release"
215 - COMPILER: "visual"
216 HOST: "visual"
217 PLATFORM: "Win32"
218 CONFIGURATION: "Release"
inikepe9ae30a2016-09-12 14:17:26 +0200219
Sean Purcell5a2b8572017-03-14 15:59:57 -0700220 install:
221 - ECHO Installing %COMPILER% %PLATFORM% %CONFIGURATION%
222 - SET PATH_ORIGINAL=%PATH%
223 - if [%HOST%]==[mingw] (
Sean Purcellad8da882017-04-13 14:40:06 -0700224 SET "PATH_MINGW32=C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin" &&
225 SET "PATH_MINGW64=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin" &&
226 COPY C:\msys64\usr\bin\make.exe C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin\make.exe &&
227 COPY C:\msys64\usr\bin\make.exe C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin\make.exe
Sean Purcell5a2b8572017-03-14 15:59:57 -0700228 )
229 - IF [%HOST%]==[visual] IF [%PLATFORM%]==[x64] (
230 SET ADDITIONALPARAM=/p:LibraryPath="C:\Program Files\Microsoft SDKs\Windows\v7.1\lib\x64;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\lib\amd64;"
231 )
232
233 build_script:
234 - ECHO Building %COMPILER% %PLATFORM% %CONFIGURATION%
235 - if [%HOST%]==[mingw] (
236 ( if [%PLATFORM%]==[x64] (
237 SET "PATH=%PATH_MINGW64%;%PATH_ORIGINAL%"
238 ) else if [%PLATFORM%]==[x86] (
239 SET "PATH=%PATH_MINGW32%;%PATH_ORIGINAL%"
240 ) ) &&
241 make -v &&
242 sh -c "%COMPILER% -v" &&
Sean Purcell5a61f362017-04-14 11:33:04 -0700243 set "CC=%COMPILER%" &&
244 sh -c "%SCRIPT%"
Sean Purcell5a2b8572017-03-14 15:59:57 -0700245 )
246 - if [%HOST%]==[visual] (
247 ECHO *** &&
248 ECHO *** Building Visual Studio 2015 %PLATFORM%\%CONFIGURATION% &&
249 ECHO *** &&
250 msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /p:ForceImportBeforeCppTargets=%APPVEYOR_BUILD_FOLDER%\build\VS2010\CompileAsCpp.props /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
251 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
252 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
253 msbuild "build\VS2010\zstd.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
254 DIR build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe &&
255 MD5sum build/VS2010/bin/%PLATFORM%_%CONFIGURATION%/*.exe &&
256 COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\fuzzer.exe tests\fuzzer_VS2015_%PLATFORM%_%CONFIGURATION%.exe &&
257 COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe tests\
258 )
Yann Collet03ef7b72019-10-18 14:52:16 -0700259
260
261 test_script:
262 - ECHO Testing %COMPILER% %PLATFORM% %CONFIGURATION%
263 - if [%HOST%]==[mingw] (
Yann Collet0e154fc2019-10-18 15:02:30 -0700264 set "CC=%COMPILER%" &&
Bimba Shrestha4a9eca42019-10-29 09:45:28 -0700265 make check
Yann Collet03ef7b72019-10-18 14:52:16 -0700266 )