-
Notifications
You must be signed in to change notification settings - Fork 532
/
appveyor.yml
91 lines (71 loc) · 1.99 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# HEVD appveyor configuration
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 3.0.{build}
# branches to build
branches:
# whitelist
only:
- master
# Do not build on tags (GitHub and BitBucket)
skip_tags: true
# Do not build feature branch with open Pull Requests
# skip_branch_with_pr: true
# Maximum number of concurrent jobs for the project
max_jobs: 1
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image:
- Visual Studio 2017
- Ubuntu
# fetch repository as zip archive
# default is "false"
shallow_clone: true
# set clone depth
# clone entire repository history if not defined
clone_depth: 1
# this is how to allow failing jobs in the matrix
# environment:
# matrix:
# - job_name: Build HEVD for Windows
# - job_name: Build HEVD for Linux
# job_depends_on: Build HEVD for Windows
# - job_name: Package HEVD
# job_depends_on: Build HEVD for Linux
matrix:
fast_finish: true
for:
- matrix:
only:
- image: Visual Studio 2017
clone_folder: c:\projects\hevd
build_script:
- cmd: cd c:\projects\hevd\Builder
- cmd: Build_HEVD_All.bat
after_build:
- cmd: 7z a c:\projects\hevd\HEVD.zip c:\projects\hevd\build\*
- matrix:
only:
- image: Ubuntu
clone_folder: /home/appveyor/projects/hevd
build_script:
- sh: cd /home/appveyor/projects/hevd/Builder
- sh: sh Build_HEVD_All.sh
after_build:
- sh: 7z a /home/appveyor/projects/hevd/HEVD.zip /home/appveyor/projects/hevd/build/*
# disable test
test: off
# artifacts
artifacts:
- path: HEVD.zip
# disable deployment
deploy: off
# remote desktop debugging
# environment:
# APPVEYOR_RDP_PASSWORD: Passw0rd!
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))