[SETUPLIB][USETUP] Code refactoring: rename the old DoesPathExist() into DoesDirExist...
[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
13 init:
14 - ps: (New-Object System.Net.WebClient).DownloadFile("https://svn.reactos.org/amine/RosCMakeNinja.zip","C:\RosCMakeNinja.zip")
15 - 7z x C:\RosCMakeNinja.zip -oC:\RosCMakeNinja
16 - ps: >-
17 If ($env:BuildType -Match "clang-cl") {
18 $env:clang_configure_option="clang"
19 (New-Object System.Net.WebClient).DownloadFile("https://svn.reactos.org/amine/clang-cl.7z","C:\clang-cl.7z")
20 7z x C:\clang-cl.7z -oC:\RosCMakeNinja\bin
21 } Else {
22 $env:clang_configure_option=""
23 }
24
25 build_script:
26 - set PATH=C:\RosCMakeNinja\bin;%PATH%
27 - if "%BuildType%" == "msvc-x64" (
28 call "C:\PROGRA~2\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
29 ) else (
30 call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
31 )
32 - cmake --version
33 - md c:\ros_build
34 - cd c:\ros_build
35 - call %APPVEYOR_BUILD_FOLDER%\configure.cmd %clang_configure_option% -DENABLE_ROSTESTS=1
36 - ps: >-
37 & ninja -k0 2>&1 | select-string -pattern "\[\d+\/\d+\] " -NotMatch | %{$_.Line}
38 - ps: >-
39 & ninja bootcd 2>&1 | select-string -pattern "\[\d+\/\d+\] " -NotMatch | %{$_.Line}
40
41 test: off
42 deploy: off
43
44 for:
45 -
46 matrix:
47 only:
48 - BuildType: vssolution
49
50 build_script:
51 - set PATH=C:\RosCMakeNinja\bin;%PATH%
52 - call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
53 - cmake --version
54 - md C:\ros_build
55 - cd C:\ros_build
56 - call %APPVEYOR_BUILD_FOLDER%\configure.cmd VSSolution -DENABLE_ROSTESTS=1
57 - msbuild /verbosity:quiet /target:bootcd REACTOS.sln