-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (41 loc) · 1.13 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
version: "{build}"
branches:
only:
- master
- /v\d+\..+/
- /release.*/
- appveyor
clone_depth: 100
image: Visual Studio 2017
platform:
- x64
configuration:
- Release
matrix:
fast_finish: true
for:
-
build_script:
- msbuild Saenaru.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild Saenaru.sln -p:platform=x86 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
- set PATH=C:\Program Files (x86)\NSIS\;%PATH%
- cd setup
- makensis.exe /DOUTPUTFILE=Saenaru-$(appveyor_build_version).exe saenaru.nsi
artifacts:
- path: setup/Saenaru-*.exe
name: saenaru
deploy:
# Create GitHub release, also set the release name and description.
provider: GitHub
tag: $(appveyor_repo_tag_name)
release: "$(project_name) $(project_version)"
description: ""
force_update: true # Force update in case Travis CI created the release before.
prerelease: $(project_version_is_prerelease)
draft: false
artifact: saenaru
auth_token:
secure: c/xeb8SWqrADeN+EXjJApIVIElDs/ro/tlIDGnNjZXhru7HP5zVKFlwSLTU3zqRf
on:
appveyor_repo_tag: true