mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 15:15:07 +00:00
23 lines
642 B
YAML
23 lines
642 B
YAML
version: "{build}"
|
|
|
|
os: Visual Studio 2017
|
|
|
|
platform:
|
|
- x64
|
|
|
|
build:
|
|
parallel: true # enable MSBuild parallel builds
|
|
verbosity: minimal
|
|
|
|
install:
|
|
- if not exist llvm.tar.xz appveyor DownloadFile "https://ziglang.org/deps/llvm+clang-7.0.0-win64-msvc-release.tar.xz" -FileName llvm.tar.xz
|
|
- 7z e -txz llvm.tar.xz
|
|
- 7z x llvm.tar
|
|
- git submodule update --init --recursive
|
|
build_script:
|
|
- cmake -G"Visual Studio 15 2017 Win64" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=C:\projects\ccls\llvm+clang-7.0.0-win64-msvc-release
|
|
- cmake --build build --target ccls --config Release
|
|
|
|
artifacts:
|
|
- path: build\Release
|