-
Notifications
You must be signed in to change notification settings - Fork 18
/
appveyor.yml
58 lines (49 loc) · 1.12 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
48
49
50
51
52
53
54
55
56
57
58
version: '{branch}-{build}'
clone_folder: c:\projects\asynqro
matrix:
fast_finish: true
image:
- Visual Studio 2019
configuration:
- Release
platform:
- x64
environment:
matrix:
- with_qt: ON
- with_qt: OFF
skip_commits:
files:
- benchmarks/
- docker/
- .ci/conan/
- conan_tests/
- .travis.yml
- conanfile.py
- README.md
- LICENSE
- .gitignore
- .clang-format
init:
- set QTDIR=C:/Qt/nonexistent/msvc2017_64
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" (
set generator="Visual Studio 16 2019" &&
if "%with_qt%"=="ON" (
set "QTDIR=C:/Qt/5.14/msvc2017_64" &&
set "prefix_path=%QTDIR%"
)
)
- set PATH=C:\projects\asynqro\build\%CONFIGURATION%;%QTDIR%/bin;%PATH%
- echo %PATH%
before_build:
- cmd: |-
mkdir build
cd build
cmake --version
cmake -DCMAKE_PREFIX_PATH=%prefix_path% -DASYNQRO_BUILD_TESTS=ON -DASYNQRO_QT_SUPPORT=%with_qt% .. -G %generator% -A x64
build:
project: c:\projects\asynqro\build\asynqro.sln
verbosity: minimal
parallel: true
test_script:
- echo "Skipping testing on Appveyor (check travis for tests)"