mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
0c839d19fc
This adds --ci command line flag which disables waiting for user input when running an index test (ie, test expectations are not updated).
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
version: "{build}"
|
|
image: Visual Studio 2017
|
|
platform: x64
|
|
|
|
clone_folder: C:\projects\cquery
|
|
|
|
install:
|
|
- git submodule update --init
|
|
|
|
build_script:
|
|
- cd C:\projects\cquery
|
|
- python waf configure --msvc_version="msvc 14.0" --msvc_targets=x64
|
|
- python waf build
|
|
- ps: |
|
|
$dir = "cquery-${env:appveyor_build_version}-win64"
|
|
cd C:\projects\cquery
|
|
mkdir "${dir}\build\release\bin" -ea 0
|
|
mkdir "${dir}\build\release\lib\LLVM-5.0.1-win64\lib\clang\5.0.1\"
|
|
copy "build\release\bin\*" "${dir}\build\release\bin"
|
|
copy -recurse "build\LLVM-5.0.1-win64\lib\clang\5.0.1\include" "${dir}\build\release\lib\LLVM-5.0.1-win64\lib\clang\5.0.1\"
|
|
7z a -tzip "C:\projects\cquery\${dir}.zip" "${dir}"
|
|
- build\release\bin\cquery --ci --log-all-to-stderr --test-unit
|
|
- build\release\bin\cquery --ci --log-all-to-stderr --test-index
|
|
|
|
artifacts:
|
|
- path: 'cquery-*.zip'
|
|
|
|
cache:
|
|
- C:\projects\cquery\build\LLVM-4.0.0-win64.exe
|
|
- C:\projects\cquery\build\LLVM-5.0.1-win64.exe
|
|
- C:\projects\cquery\build\LLVM-4.0.0-win64\
|
|
- C:\projects\cquery\build\LLVM-5.0.1-win64\
|