https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f310b023375270d7eaf82…
commit f310b023375270d7eaf82202ac82e6240ca3ba97
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Fri Nov 24 12:13:10 2017 +0100
[APPVEYOR] Add an appveyor.yml file. Dedicated to Alexander Shaposhnikov (sanchaez).
[APPVEYOR/CLANG-CL] Add the clang-cl build as a second job next to our msvc build.
---
appveyor.yml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000000..443508b7f8
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,34 @@
+environment:
+ matrix:
+ - BuildType: "clang-cl"
+ - BuildType: "msvc"
+
+version: reactos.appveyor.{build}
+skip_branch_with_pr: true
+clone_depth: 5
+clone_folder: c:\reactos-cov
+
+init:
+ - ps: (New-Object
System.Net.WebClient).DownloadFile("https://svn.reactos.org/amine/RosC…)
+ - 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/clan…)
+ 7z x C:\clang-cl.7z -oC:\RosCMakeNinja\bin
+ } Else {
+ $env:clang_configure_option=""
+ }
+
+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 %clang_configure_option%
-DENABLE_ROSTESTS=1
+ - ninja -k0
+ - ninja bootcd
+
+test: off
+deploy: off