This repository has been archived by the owner on Apr 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.appveyor.yml
68 lines (56 loc) · 2.08 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
# Start builds on tags only (GitHub and BitBucket)
skip_non_tags: true
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
# Build worker image (VM template)
image: Visual Studio 2017
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
allow_failures:
- platform: x64
configuration: Release
# exclude configuration from the matrix. Works similarly to 'allow_failures' but build not even being started for excluded combination.
exclude:
- platform: x86
configuration: Debug
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: x64
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
install:
# Juce
- ps: Start-FileDownload "https://d30pueezughrda.cloudfront.net/juce/juce-5.4.3-windows.zip"
- ps: 7z x -o"C:\" ".\juce-5.4.3-windows.zip"
# InnoSetup
- choco install -y InnoSetup
- set PATH=%PATH%;"C:\Program Files (x86)\Inno Setup 5"
build_script:
- ps: cd ".\Builds\VisualStudio2017"
- ps: MSBuild.exe .\BeatBox.sln /p:Configuration=Release
- ps: cd .\..\..\
after_build:
- ps: mkdir Deployment
- ps: cp LICENSE Deployment\LICENSE.txt
- ps: cp "Builds\VisualStudio2017\x64\Release\Standalone Plugin\BeatBox.exe" Deployment\
- ps: Start-FileDownload "https://aka.ms/vs/16/release/vc_redist.x64.exe" -FileName "Deployment\vc_redist.x64.exe"
- iscc innosetup.iss
- cmd: move Output\BeatBox-setup.exe BeatBox-%APPVEYOR_REPO_TAG_NAME%-x64.exe
artifacts:
- name: Installer
path: 'BeatBox*.exe'
# Deploy to GitHub Releases
# See https://www.appveyor.com/docs/deployment/github/
deploy:
- provider: GitHub
auth_token:
secure: gJiS6z1il5uSAkDRl/ZTzTwaIIhKN5AaKuyBIfM38uhIw1EO70u+2Vhzu67TfetH
artifact: Installer
draft: false
prerelease: false
force_update: true
on:
appveyor_repo_tag: true