-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
68 lines (61 loc) · 2.33 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
# GENERAL
version: 0.4.0.{build}
clone_folder: C:/projects/juce-6-demo
branches:
only:
- master
image: Visual Studio 2019
platform: x64
configuration:
- Release
install:
- cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
build:
parallel: true
build_script:
- cd C:/projects/juce-6-demo
- mkdir build
- cd build
- cmake -G "Visual Studio 16 2019" ..
- cmake --build . --config Release
# - ctest -C Release
#branches:
# only:
# - master
#image:
# - Visual Studio 2017
#clone_folder: c:\modEQ
#
## SETUP
#install:
# - cmd: mkdir C:\VSTPlugIns
# - cmd: mkdir C:\VSTPlugIns\tobanteAudio
# - cmd: cd c:\modEQ
# - cmd: git submodule update --init --recursive
# - ps: (Get-Content -Path "c:/modEQ/3rd_party/JUCE/extras/Projucer/JuceLibraryCode/AppConfig.h") | ForEach-Object {$_ -Replace "#define JUCER_ENABLE_GPL_MODE 0", "#define JUCER_ENABLE_GPL_MODE 1"} | Set-Content -Path "c:/modEQ/3rd_party/JUCE/extras/Projucer/JuceLibraryCode/AppConfig.h"
# - cmd: msbuild c:/modEQ/3rd_party/JUCE/extras/Projucer/Builds/VisualStudio2017/Projucer.sln /property:Platform=x64 /m
# - cmd: c:\modEQ\3rd_party\JUCE\extras\Projucer\Builds\VisualStudio2017\x64\Debug\App\Projucer.exe --resave C:\modEQ\modEQ.jucer
#
## BUILD
#build_script:
# - cmd: msbuild c:/modEQ/Builds/VisualStudio2017/modEQ.sln /p:Platform=x64 /p:Configuration=Release /m
# - cmd: cd c:\modEQ
# - cmd: mkdir bin
# # - cmd: powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest https://github.com/Tracktion/pluginval/releases/download/latest_release/pluginval_Windows.zip -OutFile pluginval.zip"
# # - cmd: powershell -Command "Expand-Archive pluginval.zip -DestinationPath ."
# # - cmd: pluginval.exe --validate-in-process --output-dir "./bin" --validate --strictness-level 5 "c:/modEQ/Builds/VisualStudio2017/x64/Release/VST3/modEQ.vst3"
# # - cmd: if %ERRORLEVEL% neq 0 exit /b 1
# - cmd: 7z a modEQ-win.zip c:/modEQ/Builds/VisualStudio2017/x64/Release/VST3/modEQ.vst3
#
## deploy:
## release: modEQ-v$(appveyor_build_version)-win64
## description: 'tobanteAudio modEQ'
## provider: GitHub
## auth_token:
## secure: C291gStpG222iqDbixH3ddeM+BE9CMp+leZsI177GsB9oIWhJcyZEn+qChtc7p8T
## artifact: c:\modEQ\modEQ-win.zip
## draft: false
## prerelease: false
## on:
## branch: master