-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathappveyor.yml
105 lines (79 loc) · 2.65 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 0.8.{build}
assembly_info:
patch: true
file: src\GlobalAssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# branches to build
branches:
# whitelist
only:
- master
- develop
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2017
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
# to add several platforms to build matrix:
#platform:
# - x86
# - Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
install:
- git submodule update --init --recursive
build:
project: src\Arma3BE.sln # path to Visual Studio solution or project
# MSBuild verbosity level
verbosity: normal
# scripts to run before build
before_build:
- nuget restore "src\Arma3BE.sln"
after_build:
- del src\Arma3BE.Client\bin\Release\*.xml
- del src\Arma3BE.Client\bin\Release\*.pdb
- del src\Arma3BE.Client\bin\Release\*.manifest
- del src\Arma3BE.Client\bin\Release\Arma3BEClient.application
- del src\Arma3BE.Client\bin\Release\control.ps1
- rd src\Arma3BE.Client\bin\Release\app.publish /s /q
- rd src\Arma3BE.Client\bin\Release\de /s /q
- rd src\Arma3BE.Client\bin\Release\es /s /q
- rd src\Arma3BE.Client\bin\Release\fr /s /q
- rd src\Arma3BE.Client\bin\Release\hu /s /q
- rd src\Arma3BE.Client\bin\Release\it /s /q
- rd src\Arma3BE.Client\bin\Release\pt-BR /s /q
- rd src\Arma3BE.Client\bin\Release\ro /s /q
- rd src\Arma3BE.Client\bin\Release\ru /s /q
- rd src\Arma3BE.Client\bin\Release\sv /s /q
- rd src\Arma3BE.Client\bin\Release\zh-Hans /s /q
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: src\Arma3BE.Client\bin\$(configuration)\
name: Arma3BEClient
#---------------------------------#
# notifications #
#---------------------------------#
notifications:
# Email
- provider: Email
to: