blob: ae7c7ad7cf67272173c2c082584f4c8703ba4038 [file] [log] [blame]
Eric Fiselierae44aee2017-04-19 23:26:211version: '{build}'
2
3shallow_clone: true
4
Eric Fiselierae44aee2017-04-19 23:26:215build:
6 verbosity: detailed
7
Eric Fiselierae44aee2017-04-19 23:26:218configuration:
9 - Debug
10
11environment:
12 matrix:
Eric Fiselierdc4e3272017-05-04 01:17:2113 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
Eric Fiselier9fc0ba92017-05-10 02:30:1614 CMAKE_OPTIONS: -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe
Eric Fiselierd9fadb22017-05-04 05:16:4815 CLANG_VERSION: ToT
16 MSVC_SETUP_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat
17 MSVC_SETUP_ARG: x86
Eric Fiselier9fc0ba92017-05-10 02:30:1618 GENERATOR: Ninja
19 MAKE_PROGRAM: ninja
Eric Fiselierd9fadb22017-05-04 05:16:4820 APPVEYOR_SAVE_CACHE_ON_ERROR: true
Eric Fiselier191da932019-04-03 20:36:5121# TODO: Maybe re-enable this configuration? Do we want to support MSVC 2015's runtime?
22# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
23# MINGW_PATH: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
24# GENERATOR: MinGW Makefiles
25# MAKE_PROGRAM: mingw32-make
26# APPVEYOR_SAVE_CACHE_ON_ERROR: true
Eric Fiselierae44aee2017-04-19 23:26:2127
28install:
29 ############################################################################
30 # All external dependencies are installed in C:\projects\deps
31 ############################################################################
Eric Fiselier52ad6e552017-05-10 02:43:0232 - call "%APPVEYOR_BUILD_FOLDER%\\appveyor-reqs-install.cmd"
Eric Fiselierae44aee2017-04-19 23:26:2133
34before_build:
Eric Fiselier9fc0ba92017-05-10 02:30:1635 - if DEFINED MSVC_SETUP_PATH call "%MSVC_SETUP_PATH%" %MSVC_SETUP_ARG%
Eric Fiselierd9fadb22017-05-04 05:16:4836 - cd %APPVEYOR_BUILD_FOLDER%
Eric Fiselierae44aee2017-04-19 23:26:2137
38build_script:
39 - md C:\projects\build-libcxx
40 - cd C:\projects\build-libcxx
41 - echo %configuration%
42
43 #############################################################################
44 # Configuration Step
45 #############################################################################
Eric Fiselier9fc0ba92017-05-10 02:30:1646 - cmake -G "%GENERATOR%" %CMAKE_OPTIONS%
Eric Fiselierae44aee2017-04-19 23:26:2147 "-DCMAKE_BUILD_TYPE=%configuration%"
48 "-DLLVM_PATH=C:\projects\deps\llvm" -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
Eric Fiselier385e4fb2017-05-04 05:32:5449 -DLLVM_LIT_ARGS="-sv --show-xfail --show-unsupported"
Eric Fiselierd9fadb22017-05-04 05:16:4850 %APPVEYOR_BUILD_FOLDER%
Eric Fiselierae44aee2017-04-19 23:26:2151
52 #############################################################################
53 # Build Step
54 #############################################################################
Eric Fiselier9fc0ba92017-05-10 02:30:1655 - "%MAKE_PROGRAM%"
Eric Fiselierae44aee2017-04-19 23:26:2156
57test_script:
Eric Fiselier8a64fd72017-05-10 02:34:5658 - "%MAKE_PROGRAM% check-cxx"
Eric Fiselierae44aee2017-04-19 23:26:2159
60on_failure:
61 - appveyor PushArtifact CMakeFiles/CMakeOutput.log
62 - appveyor PushArtifact CMakeFiles/CMakeError.log
63
64artifacts:
65 - path: '_build/CMakeFiles/*.log'
66 name: logs
Eric Fiselierd9fadb22017-05-04 05:16:4867
68cache:
69 - C:\projects\deps\ninja
70 - C:\projects\deps\cmake
Eric Fiselier8f6c6b92017-05-04 19:04:5071 - C:\projects\deps\llvm-installer.exe