-
Notifications
You must be signed in to change notification settings - Fork 3
/
.appveyor.yml
47 lines (38 loc) · 1.02 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
image: Visual Studio 2017
environment:
matrix:
- arch: x64
GENERATOR: "Visual Studio 15 2017 Win64"
QTDIR: C:\Qt\5.12\msvc2017_64
- arch: x86
GENERATOR: "Visual Studio 15 2017"
QTDIR: C:\Qt\5.12\msvc2017
configuration: Release
install:
- set PATH=%QTDIR%\bin;%PATH%
before_build:
- mkdir build
- cd build
- cmake "-G%GENERATOR%" "-DBUILD_CLI=ON" ..
build_script:
- cmake --build . --config Release
#test_script:
# - ctest -C Release --output-on-failure
after_build:
- mkdir deploy
- cmd: pwd
- cmd: cp Release/Grate.exe deploy/Grate.exe
- windeployqt deploy/Grate.exe
- 7z a Grate_win_%arch%.zip .\deploy\*
artifacts:
- path: build/Grate_win_%arch%.zip
deploy:
description: "GRATE release"
provider: GitHub
auth_token:
secure: gZN4A7jWC6fB5vqYRh2cnIB06FeJs04/3R+NQyx5MIE0XxTA8V/rCYUmPQm+zn4S
artifact: build/Grate_win_%arch%.zip
draft: false
prerelease: false
on:
APPVEYOR_REPO_TAG: true