2017-11-24 19:13:10 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2018-04-03 20:16:09 +08:00
|
|
|
- BuildType: "msvc-x64"
|
2018-04-03 20:19:30 +08:00
|
|
|
- BuildType: "msvc"
|
2019-05-13 14:33:00 +08:00
|
|
|
# - BuildType: "clang-cl"
|
|
|
|
# - BuildType: vssolution
|
2017-11-24 19:13:10 +08:00
|
|
|
|
|
|
|
version: reactos.appveyor.{build}
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
clone_depth: 5
|
|
|
|
clone_folder: c:\reactos-cov
|
2019-04-28 09:23:27 +08:00
|
|
|
matrix:
|
2019-04-19 22:39:18 +08:00
|
|
|
fast_finish: true
|
2017-11-24 19:13:10 +08:00
|
|
|
|
|
|
|
init:
|
|
|
|
- ps: (New-Object System.Net.WebClient).DownloadFile("https://svn.reactos.org/amine/RosCMakeNinja.zip","C:\RosCMakeNinja.zip")
|
|
|
|
- 7z x C:\RosCMakeNinja.zip -oC:\RosCMakeNinja
|
|
|
|
- ps: >-
|
|
|
|
If ($env:BuildType -Match "clang-cl") {
|
|
|
|
$env:clang_configure_option="clang"
|
|
|
|
(New-Object System.Net.WebClient).DownloadFile("https://svn.reactos.org/amine/clang-cl.7z","C:\clang-cl.7z")
|
|
|
|
7z x C:\clang-cl.7z -oC:\RosCMakeNinja\bin
|
|
|
|
} Else {
|
|
|
|
$env:clang_configure_option=""
|
|
|
|
}
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- set PATH=C:\RosCMakeNinja\bin;%PATH%
|
2018-04-03 20:16:09 +08:00
|
|
|
- if "%BuildType%" == "msvc-x64" (
|
|
|
|
call "C:\PROGRA~2\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
|
|
|
) else (
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
|
|
|
|
)
|
2017-11-24 19:13:10 +08:00
|
|
|
- cmake --version
|
|
|
|
- md c:\ros_build
|
|
|
|
- cd c:\ros_build
|
|
|
|
- call %APPVEYOR_BUILD_FOLDER%\configure.cmd %clang_configure_option% -DENABLE_ROSTESTS=1
|
2018-04-01 20:07:09 +08:00
|
|
|
- ps: >-
|
|
|
|
& ninja -k0 2>&1 | select-string -pattern "\[\d+\/\d+\] " -NotMatch | %{$_.Line}
|
|
|
|
- ps: >-
|
|
|
|
& ninja bootcd 2>&1 | select-string -pattern "\[\d+\/\d+\] " -NotMatch | %{$_.Line}
|
2017-11-24 19:13:10 +08:00
|
|
|
|
|
|
|
test: off
|
|
|
|
deploy: off
|
2018-05-25 04:00:01 +08:00
|
|
|
|
|
|
|
for:
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- BuildType: vssolution
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- set PATH=C:\RosCMakeNinja\bin;%PATH%
|
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
|
|
|
|
- cmake --version
|
|
|
|
- md C:\ros_build
|
|
|
|
- cd C:\ros_build
|
|
|
|
- call %APPVEYOR_BUILD_FOLDER%\configure.cmd VSSolution -DENABLE_ROSTESTS=1
|
|
|
|
- msbuild /verbosity:quiet /target:bootcd REACTOS.sln
|