forked from apitrace/apitrace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (43 loc) · 1.29 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
# See http://www.appveyor.com/docs/appveyor-yml
version: '{build}'
branches:
except:
- /^travis.*$/
- /^github.*$/
init:
- git config --global core.autocrlf input
shallow_clone: true
# https://www.appveyor.com/docs/windows-images-software/
image: Visual Studio 2019
environment:
MSBUILD_FLAGS: /verbosity:minimal /maxcpucount
CONFIGURATION: RelWithDebInfo
matrix:
- job_name: msvc32
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_TOOLSET: "Win32"
QT5: C:\Qt\5.14\msvc2017
- job_name: msvc64
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_TOOLSET: "x64"
QT5: C:\Qt\5.14\msvc2017_64
matrix:
fast_finish: true
before_build:
- set Path=C:\Python36;%Path%
- set Path=%QT5%\bin;%Path%
- cmake -H. -Bbuild -G "%CMAKE_GENERATOR%" -A "%CMAKE_TOOLSET%" "-DCMAKE_PREFIX_PATH=%QT5%" -DENABLE_GUI=ON
build_script:
- cmake --build build --config "%CONFIGURATION%" -- %MSBUILD_FLAGS%
after_build:
- cmake --build build --config "%CONFIGURATION%" --target check -- %MSBUILD_FLAGS%
- cmake --build build --config "%CONFIGURATION%" --target package -- %MSBUILD_FLAGS%
artifacts:
- path: build/apitrace-*.7z
deploy:
provider: GitHub
auth_token:
secure: gjIEc0c2BefRL7rHhypJA57Swohq5bTnyJoqT6U7jSzPiYc5GS5pt8jfKoChIzuE
artifact: /.*\.7z/
on:
appveyor_repo_tag: true