File: appveyor.yml

package info (click to toggle)
cppcheck 1.76.1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 13,608 kB
  • sloc: cpp: 140,390; python: 3,430; ansic: 2,808; xml: 670; makefile: 501; sh: 237
file content (46 lines) | stat: -rw-r--r-- 1,773 bytes parent folder | download | duplicates (2)
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
version: 1.73.{build}

clone_depth: 10

environment:
  matrix:
    - VisualStudioVersion: 10.0
      platform: "Win32"
      configuration: "Debug"
      vcvarsall_platform: "x86"
      PlatformToolset: "v100"
    - VisualStudioVersion: 10.0
      platform: "Win32"
      configuration: "Release"
      vcvarsall_platform: "x86"
      PlatformToolset: "v100"
    - VisualStudioVersion: 10.0
      platform: "x64"
      configuration: "Debug"
      vcvarsall_platform: "x64"
      PlatformToolset: "v100"
    - VisualStudioVersion: 10.0
      platform: "x64"
      configuration: "Release"
      vcvarsall_platform: "x64"
      PlatformToolset: "v100"
    - VisualStudioVersion: 14.0
      platform: "Win32"
      configuration: "Debug"
      vcvarsall_platform: "x86"
      PlatformToolset: "v140"
    - VisualStudioVersion: 14.0
      platform: "x64"
      configuration: "Debug"
      vcvarsall_platform: "x64"
      PlatformToolset: "v140"

build_script:
  - ECHO Building %configuration% %platform% with MSVC %VisualStudioVersion% using %PlatformToolset% PlatformToolset
  - 'IF "%VisualStudioVersion%" == "10.0" IF "%platform%" == "x64" CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%vcvarsall_platform% /%configuration%'
  - 'CALL "C:\Program Files (x86)\Microsoft Visual Studio %VisualStudioVersion%\VC\vcvarsall.bat" %vcvarsall_platform%'
  - msbuild "cppcheck.sln" /consoleloggerparameters:Verbosity=minimal /target:Build /property:Configuration="%configuration%";Platform=%platform% /p:PlatformToolset=%PlatformToolset% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

test_script:
  - IF "%CONFIGURATION%" == "Debug"   bin\debug\testrunner.exe
  - IF "%CONFIGURATION%" == "Release" bin\testrunner.exe