-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
79 lines (64 loc) · 2.29 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
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 1.0.{build}
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2015
environment:
license_password:
secure: CtHuMr3UwVRyHk6eqj2C8A==
install:
- git submodule -q update --init --recursive
- ps: . .\scripts\install-unity.ps1
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
configuration: Release
build:
parallel: true # enable MSBuild parallel builds
project: BuildProject\uAdventureEditor\uAdventureEditor.sln # path to Visual Studio solution or project
verbosity: normal
# scripts to run before build
before_build:
- ps: . .\scripts\create-guidmap.ps1
# scripts to run after build
after_build:
- ps: . .\scripts\setup-project.ps1
- ps: . .\scripts\apply-guidmap.ps1
- ps: . .\scripts\export-package.ps1 uAdventure
#---------------------------------#
# tests configuration #
#---------------------------------#
test_script:
- ps: . .\scripts\run-test.ps1
- ps: . .\scripts\fix-unity-test-results.ps1
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
# pushing all *.unitypackage files in build directory recursively
- path: '**\*.unitypackage'
- path: '**\testresults.xml'
- path: '**\nunit3testresults.xml'
#---------------------------------#
# deployment configuration #
#---------------------------------#
# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment
# provider names are case-sensitive!
deploy:
# Deploy to GitHub Releases
- provider: GitHub
auth_token:
secure: 3zSsvAIXsHOIjh68YpgvbshUIMS3CbGr91Tz/3/QowMmfSdkgEMgYRG/vv5Np5+k # your encrypted token from GitHub
artifact: /.*\.unitypackage/ # upload all UnityPackage packages to release assets
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only