forked from sgorsten/linalg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (39 loc) · 1.01 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
version: 3.0.{build}
configuration:
- Debug
platform:
- x64
- x86
image:
- Visual Studio 2017
- Visual Studio 2015
# Disable build through solution file
build: off
# Build through commands in script below
test_script:
- ps: >-
echo $env:APPVEYOR_BUILD_WORKER_IMAGE
if($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017")
{
msbuild /t:Build samples\msvc150\linalg-test.vcxproj
if($env:PLATFORM -eq "x64")
{
samples\msvc150\bin\linalg-test-Debug-x64.exe
}
if($env:PLATFORM -eq "x86")
{
samples\msvc150\bin\linalg-test-Debug-Win32.exe
}
}
if($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015")
{
msbuild /t:Build samples\msvc140\linalg-test.vcxproj
if($env:PLATFORM -eq "x64")
{
samples\msvc140\bin\linalg-test-Debug-x64.exe
}
if($env:PLATFORM -eq "x86")
{
samples\msvc140\bin\linalg-test-Debug-Win32.exe
}
}