forked from baldurk/renderdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
70 lines (52 loc) · 1.73 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
58
59
60
61
62
63
64
65
66
67
68
69
70
version: '{build}'
branches:
only:
- master
image: Visual Studio 2015
configuration:
- Development
- Release
platform:
- Win32
- x64
clone_depth: 1
environment:
coverity_token:
secure: cvo7MHcff1Razyw9WcbJVBrEP8MkGIo7kvJ1RHYFIu0=
coverity_email:
secure: ndq7n9R6NhCV8mENhPAH4VTFNUeROGK/uFlqfUVwxAc=
# Can't exclude things in the build matrix, just skip development win32
matrix:
allow_failures:
- configuration: Development
platform: Win32
init:
- if "%PLATFORM%" EQU "Win32" ( if "%CONFIGURATION%"=="Development" (echo "Skipping Win32 Development" && exit /b 1 ) )
install:
- ps: $env:PATH = 'C:\MinGW\bin;C:\MinGW\mingw32\bin;C:\MinGW\msys\1.0\bin;' + $env:PATH
build:
project: renderdoc.sln
parallel: true
verbosity: minimal
build_script:
- ps: >-
if ( ($env:APPVEYOR_SCHEDULED_BUILD -eq "True" ) -and ($env:PLATFORM -eq "x64") -and ($env:CONFIGURATION -eq "Development") )
{
cov-build.exe --dir cov-int msbuild renderdoc.sln /p:Configuration=Development /p:Platform=x64 /p:PlatformToolset=v120
nuget.exe install PublishCoverity -ExcludeVersion
PublishCoverity\tools\PublishCoverity.exe compress -o coverity.zip -i cov-int
PublishCoverity\tools\PublishCoverity.exe publish `
-t "$env:coverity_token" `
-e "$env:coverity_email" `
-r "$env:APPVEYOR_REPO_NAME" `
-z coverity.zip `
-d "AppVeyor scheduled build ($env:APPVEYOR_REPO_COMMIT)." `
--codeVersion "$env:APPVEYOR_REPO_COMMIT"
return
}
if ( $env:APPVEYOR_SCHEDULED_BUILD -eq "True" )
{
return
}
sh -c ./hash_version.sh
msbuild renderdoc.sln /v:m "/p:Configuration=$env:CONFIGURATION" "/p:Platform=$env:PLATFORM" /p:PlatformToolset=v140