-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
54 lines (48 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
43
44
45
46
47
48
49
50
51
52
53
54
os: Visual Studio 2019
environment:
matrix:
#- platform: Win32
# compiler: "Visual Studio 14 2015"
# configuration: Debug
- platform: x64
compiler: "Visual Studio 16 2019"
configuration: Release
release_arch: "Windows-amd64-32"
install:
- git submodule update --init --recursive
- curl -L https://github.com/CICM/pd-faustgen/releases/download/v0.0.0/llvm-9.0.0-windows-x64-mt.zip -o llvm.zip
- 7z x llvm.zip
- curl http://faust.grame.fr/images/faust-quick-reference.pdf -o ./external/faust-quick-reference.pdf
build_script:
- mkdir build && cd build
- cmake .. -G "%compiler%" -A x64 -DUSE_LLVM_CONFIG=off -DLLVM_DIR=./llvm/lib/cmake/llvm
- msbuild faustgen~.sln /nologo /p:config=%configuration% /p:plateform=%platform%
after_build:
- cd %APPVEYOR_BUILD_FOLDER%
- del /F /Q llvm.zip
- del /F /S /Q /A external\*.pdb
- del /F /S /Q /A external\*.ilk
- del /F /S /Q /A external\*.lib
- del /F /S /Q /A external\*.exp
- copy README.md external\README.md
- copy LICENSE external\LICENSE.txt
- xcopy /S /E /Y /I .\faust\libraries .\external\libs
- xcopy /S /E /Y /I .\src .\external\sources
- attrib +R external\.default.dsp
- rename external faustgen~
- 7z a "faustgen_tilde-%release_arch%-sources.zip" faustgen~
artifacts:
- path: '*.zip'
deploy:
provider: GitHub
prerelease: true
overwrite: true
draft: true
auth_token:
secure: n/wNzOYdawEQPTt9OaxXu59bO9PKjKjzeZulk0yrmQduH6SLI7c0CduPQXBwjI1B
artifact: /.*\.zip/
on:
appveyor_repo_tag: true
notifications:
- provider: Email
on_build_status_changed: false