-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathappveyor.yml
57 lines (48 loc) · 1.97 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: 1.9.9.{build}
image: Visual Studio 2022
environment:
matrix:
- CONFIGURATION: "Debug"
ARCHIT: "x64"
- CONFIGURATION: "Debug"
ARCHIT: "Win32"
- CONFIGURATION: "Release"
ARCHIT: "x64"
- CONFIGURATION: "Release"
ARCHIT: "Win32"
install:
- ECHO Installing %COMPILER% %ARCHIT% %CONFIGURATION%
- MKDIR bin
- if "%ARCHIT%"=="x64" set ARCHI=amd64
- if "%ARCHIT%"=="Win32" set ARCHI=x86
- echo ----- ARCHI=%ARCHI%
- call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" %ARCHI%
build_script:
- ECHO ***
- ECHO Building %COMPILER% %ARCHIT% %CONFIGURATION%
- ECHO ***
- ECHO ***
- ECHO *** Building Visual Studio 2022 %ARCHIT%\%CONFIGURATION%
- ECHO ***
- msbuild "visual\VS2010\lizard.sln" /m /verbosity:minimal /property:PlatformToolset=v143 /t:Clean,Build /p:Platform=%ARCHIT% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- ECHO ***
- ECHO *** Building Visual Studio 2019 %ARCHIT%\%CONFIGURATION%
- ECHO ***
- msbuild "visual\VS2010\lizard.sln" /m /verbosity:minimal /property:PlatformToolset=v142 /t:Clean,Build /p:Platform=%ARCHIT% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- ECHO ***
- ECHO *** Building Visual Studio 2017 %ARCHIT%\%CONFIGURATION%
- ECHO ***
- msbuild "visual\VS2010\lizard.sln" /m /verbosity:minimal /property:PlatformToolset=v141 /t:Clean,Build /p:Platform=%ARCHIT% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- COPY visual\VS2010\bin\%ARCHIT%_%CONFIGURATION%\*.exe programs\
test_script:
- ECHO ***
- ECHO Testing %COMPILER% %ARCHIT% %CONFIGURATION%
- ECHO ***
- CD programs
- lizard -h
- lizard -i1b lizard.exe
- lizard -i1b5 lizard.exe
- lizard -i1b10 lizard.exe
- lizard -i1b15 lizard.exe
- echo ------- lizard tested -------
- fullbench.exe -i1 fullbench.exe