forked from Mudlet/Mudlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
65 lines (57 loc) · 2.16 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
59
60
61
62
63
64
65
version: 1.0.{build}
branches:
only:
- development # build the default branch
- /^release-.+/ # build release branches
- /^Mudlet-.+/ # build release tags (yes, the option also applies to tags)
init:
- cmd: mkdir C:\src\
# enable to debug build process on start
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
image: Visual Studio 2019
environment:
global:
CCACHE_DIR: "%APPVEYOR_BUILD_FOLDER%\\.ccache"
# our appveyor cache size is 1G
CCACHE_MAXSIZE: 1G
# APP_BUILD embeds the git sha which changes on every commit, throwing the cache off
# ignore it for snapshots but not for PTBs or releases
CCACHE_IGNOREOPTIONS: "-DAPP_BUILD=-testing*"
signing_password:
secure: JJDxNdreMgNn/IOcY+UVmlaqgDT4a7vcxsY3nfcgWY4=
DEPLOY_KEY_PASS:
secure: 81sr0SJzuWG+mgH3X6fJTh4rfX5/O1qa3MsItNvFukQ=
DEPLOY_PATH:
secure: XQhASAJJm4Owpu74K4jgL0gszN59XJnCAS27NG7CW5G1LSRSWRh/EhKiTD36DvSr
DBLSQD_USER:
secure: MzfNcBLZRfswzBQufoW4EV+9/tcG5vW+G6EVTyN6Glc=
DBLSQD_PASS:
secure: Bm5PLJjC39XmRC55RPGVP9c5CFxvWu2VorAAmu5QS38=
matrix:
- QT_BASE_DIR: C:\Qt\5.14.2\mingw73_32
MINGW_BASE_DIR: C:\Qt\Tools\mingw730_32
install:
- cd "%APPVEYOR_BUILD_FOLDER%\CI"
- powershell ".\appveyor.install.ps1"
before_build:
- set PATH=C:\Program Files\ccache;%PATH%
- cd "%APPVEYOR_BUILD_FOLDER%\CI"
- echo "ccache stats before building:"
- ccache --zero-stats --show-stats --verbose
build_script:
- powershell ".\appveyor.build.ps1"
after_build:
- echo "ccache stats after building:"
- ccache --show-stats --verbose
on_failure:
- cd C:\src
- powershell "Push-AppveyorArtifact ./verbose_output.log"
- echo "Build failed - see verbose_output.log artifact upload for more information."
# enable to debug build process on completion
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
cache:
- '%MINGW_BASE_DIR% -> CI\appveyor.install.ps1, CI\appveyor.functions.ps1'
- '%QT_BASE_DIR% -> CI\appveyor.install.ps1, CI\appveyor.functions.ps1'
- .ccache
notifications: