forked from ossia/score
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (33 loc) · 1.23 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
environment:
QTDIR: C:/Qt/5.13/msvc2017_64
BOOST_ROOT: C:/Libraries/boost_1_71_0
configuration: Release
image: Visual Studio 2019
platform: x64
install:
- appveyor DownloadFile "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/unsis/nsis-2.46.5-Unicode-setup.exe" -FileName nsis.exe
- nsis.exe /S
- appveyor DownloadFile "https://github.com/OSSIA/score-sdk/releases/download/sdk9/win-audio-sdk.zip" -FileName win-audio-sdk.zip
- 7z x win-audio-sdk.zip
- move portaudio c:\portaudio
- move ffmpeg c:\ffmpeg
build_script:
- git submodule update --init --recursive
- mkdir build
- cd build
- cmake -T host=x64 -G "Visual Studio 16 2019" -A x64 -DSCORE_CONFIGURATION=static-release -DBOOST_ROOT="%BOOST_ROOT%" -DCMAKE_PREFIX_PATH="%QTDIR%/lib/cmake/Qt5" -DSCORE_ENABLE_LTO=0 ..
- cmake --build . --config Release --target all_unity
- cmake --build . --config Release --target Package
artifacts:
- name: Installer
path: 'build/ossia score-*.exe'
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
provider: GitHub
artifact: /.*\.exe/
auth_token:
secure: j0nBV9xVItdG3j6d0gHoyvrzi7TOhAy9/QIeyCbFeP8PTqq7DPr1oYwL5WIkPaXe
draft: false
prerelease: false
on:
appveyor_repo_tag: true