forked from jacobdufault/cquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
47 lines (41 loc) · 1.19 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: "{build}"
image: Visual Studio 2017
platform: x64
configuration: Debug
install:
- git submodule update --init
environment:
CLICOLOR_FORCE: 1
CHERE_INVOKING: 1 # Tell Bash to inherit the current working directory
matrix:
- MSYSTEM: MINGW64
- MSYSTEM: MSVC
matrix:
fast_finish: true # Immediately finish build if one of the jobs fails.
for:
-
matrix:
only:
- MSYSTEM: MINGW64
build_script:
ps: "C:\\msys64\\usr\\bin\\bash -lc @\"\n
cmake -G'MSYS Makefiles' -DCMAKE_INSTALL_PREFIX=install .\n
make -j$(nproc) install 2>&1\n
cp /mingw64/bin/libgcc_s_seh-1.dll install/bin\n
cp /mingw64/bin/libstdc++-6.dll install/bin\n
cp /mingw64/bin/libwinpthread-1.dll install/bin\n\"@"
-
matrix:
only:
- MSYSTEM: MSVC
before_build:
- cmake -DCI=ON -DCMAKE_INSTALL_PREFIX=install -DCMAKE_GENERATOR_PLATFORM=x64 .
build:
project: cquery.sln
after_build:
- cmake --build . --target install
test_script:
- .\install\bin\cquery.exe --ci --log-all-to-stderr --test-unit
- .\install\bin\cquery.exe --ci --log-all-to-stderr --test-index
cache:
- C:\projects\cquery\build\LLVM-6.0.0-win64\