forked from Mudlet/Mudlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
62 lines (54 loc) · 1.97 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
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
signing_password:
secure: JJDxNdreMgNn/IOcY+UVmlaqgDT4a7vcxsY3nfcgWY4=
DEPLOY_KEY_PASS:
secure: hW5QUOPCZvXJB3eA3+E3HdaoNGGl5VDpm762J5XSc6k=
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: