annotate libcxx/appveyor.yml @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 version: '{build}'
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 shallow_clone: true
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 build:
anatofuz
parents:
diff changeset
6 verbosity: detailed
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 configuration:
anatofuz
parents:
diff changeset
9 - Debug
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 environment:
anatofuz
parents:
diff changeset
12 matrix:
anatofuz
parents:
diff changeset
13 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
anatofuz
parents:
diff changeset
14 CMAKE_OPTIONS: -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe
anatofuz
parents:
diff changeset
15 CLANG_VERSION: ToT
anatofuz
parents:
diff changeset
16 MSVC_SETUP_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat
anatofuz
parents:
diff changeset
17 MSVC_SETUP_ARG: x86
anatofuz
parents:
diff changeset
18 GENERATOR: Ninja
anatofuz
parents:
diff changeset
19 MAKE_PROGRAM: ninja
anatofuz
parents:
diff changeset
20 APPVEYOR_SAVE_CACHE_ON_ERROR: true
anatofuz
parents:
diff changeset
21 # TODO: Maybe re-enable this configuration? Do we want to support MSVC 2015's runtime?
anatofuz
parents:
diff changeset
22 # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
anatofuz
parents:
diff changeset
23 # MINGW_PATH: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
anatofuz
parents:
diff changeset
24 # GENERATOR: MinGW Makefiles
anatofuz
parents:
diff changeset
25 # MAKE_PROGRAM: mingw32-make
anatofuz
parents:
diff changeset
26 # APPVEYOR_SAVE_CACHE_ON_ERROR: true
anatofuz
parents:
diff changeset
27
anatofuz
parents:
diff changeset
28 install:
anatofuz
parents:
diff changeset
29 ############################################################################
anatofuz
parents:
diff changeset
30 # All external dependencies are installed in C:\projects\deps
anatofuz
parents:
diff changeset
31 ############################################################################
anatofuz
parents:
diff changeset
32 - call "%APPVEYOR_BUILD_FOLDER%\\appveyor-reqs-install.cmd"
anatofuz
parents:
diff changeset
33
anatofuz
parents:
diff changeset
34 before_build:
anatofuz
parents:
diff changeset
35 - if DEFINED MSVC_SETUP_PATH call "%MSVC_SETUP_PATH%" %MSVC_SETUP_ARG%
anatofuz
parents:
diff changeset
36 - cd %APPVEYOR_BUILD_FOLDER%
anatofuz
parents:
diff changeset
37
anatofuz
parents:
diff changeset
38 build_script:
anatofuz
parents:
diff changeset
39 - md C:\projects\build-libcxx
anatofuz
parents:
diff changeset
40 - cd C:\projects\build-libcxx
anatofuz
parents:
diff changeset
41 - echo %configuration%
anatofuz
parents:
diff changeset
42
anatofuz
parents:
diff changeset
43 #############################################################################
anatofuz
parents:
diff changeset
44 # Configuration Step
anatofuz
parents:
diff changeset
45 #############################################################################
anatofuz
parents:
diff changeset
46 - cmake -G "%GENERATOR%" %CMAKE_OPTIONS%
anatofuz
parents:
diff changeset
47 "-DCMAKE_BUILD_TYPE=%configuration%"
236
c4bab56944e8 LLVM 16
kono
parents: 150
diff changeset
48 "-DLLVM_PATH=C:\projects\deps\llvm"
150
anatofuz
parents:
diff changeset
49 -DLLVM_LIT_ARGS="-sv --show-xfail --show-unsupported"
anatofuz
parents:
diff changeset
50 %APPVEYOR_BUILD_FOLDER%
anatofuz
parents:
diff changeset
51
anatofuz
parents:
diff changeset
52 #############################################################################
anatofuz
parents:
diff changeset
53 # Build Step
anatofuz
parents:
diff changeset
54 #############################################################################
anatofuz
parents:
diff changeset
55 - "%MAKE_PROGRAM%"
anatofuz
parents:
diff changeset
56
anatofuz
parents:
diff changeset
57 test_script:
anatofuz
parents:
diff changeset
58 - "%MAKE_PROGRAM% check-cxx"
anatofuz
parents:
diff changeset
59
anatofuz
parents:
diff changeset
60 on_failure:
anatofuz
parents:
diff changeset
61 - appveyor PushArtifact CMakeFiles/CMakeOutput.log
anatofuz
parents:
diff changeset
62 - appveyor PushArtifact CMakeFiles/CMakeError.log
anatofuz
parents:
diff changeset
63
anatofuz
parents:
diff changeset
64 artifacts:
anatofuz
parents:
diff changeset
65 - path: '_build/CMakeFiles/*.log'
anatofuz
parents:
diff changeset
66 name: logs
anatofuz
parents:
diff changeset
67
anatofuz
parents:
diff changeset
68 cache:
anatofuz
parents:
diff changeset
69 - C:\projects\deps\ninja
anatofuz
parents:
diff changeset
70 - C:\projects\deps\cmake
anatofuz
parents:
diff changeset
71 - C:\projects\deps\llvm-installer.exe