[CMAKE] KDBG and _WINKD_ do not need a value
[reactos.git] / appveyor.yml
1 environment:
2 matrix:
3 - BuildType: "msvc-x64"
4 - BuildType: "msvc"
5 # - BuildType: "clang-cl"
6 # - BuildType: vssolution
7
8 version: reactos.appveyor.{build}
9 skip_branch_with_pr: true
10 clone_depth: 5
11 clone_folder: c:\reactos-cov
12 matrix:
13 fast_finish: true
14
15 init:
16 - ps: (New-Object System.Net.WebClient).DownloadFile("https://svn.reactos.org/amine/RosCMakeNinja.zip","C:\RosCMakeNinja.zip")
17 - 7z x C:\RosCMakeNinja.zip -oC:\RosCMakeNinja
18 - ps: >-
19 If ($env:BuildType -Match "clang-cl") {
20 $env:clang_configure_option="clang"
21 (New-Object System.Net.WebClient).DownloadFile("https://svn.reactos.org/amine/clang-cl.7z","C:\clang-cl.7z")
22 7z x C:\clang-cl.7z -oC:\RosCMakeNinja\bin
23 } Else {
24 $env:clang_configure_option=""
25 }
26
27 build_script:
28 - set PATH=C:\RosCMakeNinja\bin;%PATH%
29 - if "%BuildType%" == "msvc-x64" (
30 call "C:\PROGRA~2\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
31 ) else (
32 call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
33 )
34 - cmake --version
35 - md c:\ros_build
36 - cd c:\ros_build
37 - call %APPVEYOR_BUILD_FOLDER%\configure.cmd %clang_configure_option% -DENABLE_ROSTESTS=1
38 - ps: >-
39 & ninja -k0 2>&1 | select-string -pattern "\[\d+\/\d+\] " -NotMatch | %{$_.Line}
40 - ps: >-
41 & ninja bootcd 2>&1 | select-string -pattern "\[\d+\/\d+\] " -NotMatch | %{$_.Line}
42
43 test: off
44 deploy: off
45
46 for:
47 -
48 matrix:
49 only:
50 - BuildType: vssolution
51
52 build_script:
53 - set PATH=C:\RosCMakeNinja\bin;%PATH%
54 - call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
55 - cmake --version
56 - md C:\ros_build
57 - cd C:\ros_build
58 - call %APPVEYOR_BUILD_FOLDER%\configure.cmd VSSolution -DENABLE_ROSTESTS=1
59 - msbuild /verbosity:quiet /target:bootcd REACTOS.sln