forked from ossia/score
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
42 lines (37 loc) · 1.57 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
environment:
QTDIR: C:\Qt\5.5\mingw492_32
MINGW: C:\Qt\Tools\mingw492_32
BOOST_ROOT: c:\Libraries\boost
BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib
JAMOMA_ROOT: c:\Jamoma
CHOCO_PATH: c:\ProgramData\chocolatey\bin
CMAKE_PATH: c:\projects\i-score\cmake-3.3.0-rc4-win32-x86
configuration: Release
install:
- appveyor DownloadFile "https://www.dropbox.com/s/wfzjuyt6nu73e7p/JamomaCore-0.6-dev-win32.exe?dl=1" -FileName Jamoma.exe
- Jamoma.exe /S /D=%JAMOMA_ROOT%
- appveyor DownloadFile "https://unsis.googlecode.com/files/nsis-2.46.5-Unicode-setup.exe" -FileName nsis.exe
- nsis.exe /S
- appveyor DownloadFile "http://www.cmake.org/files/v3.3/cmake-3.3.0-rc4-win32-x86.zip"
- 7z x cmake-3.3.0-rc4-win32-x86.zip -y > nul
build_script:
- git submodule update --init
- mkdir build
- cd build
- set PATH=%CMAKE_PATH%\bin;%QTDIR%\bin;%MINGW%\bin;C:\Qt\Tools\QtCreator\bin
- cmake -G"MinGW Makefiles" -DISCORE_STATIC_PLUGINS:Bool=True -DDEPLOYMENT_BUILD:Bool=True -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_MAKE_PROGRAM=mingw32-make.exe -DCMAKE_PREFIX_PATH="%QTDIR%/lib/cmake/Qt5;%JAMOMA_ROOT%\share\cmake\jamoma" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS="ON" ..
- mingw32-make -j2
- cpack
artifacts:
- name: Installer
path: 'build/i-score-*-win32.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