-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathappveyor.yml
More file actions
70 lines (56 loc) · 1.77 KB
/
Copy pathappveyor.yml
File metadata and controls
70 lines (56 loc) · 1.77 KB
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
69
70
# Specify version format
version: "{build}"
notifications:
- provider: Slack
auth_token:
secure: /Skjk2rKaHX6RpI2yGEbIdSSA+U2/nhHpC6dEQhF/La8+NyMhyvdkYYbpu7g57Ez
channel: libpeeracle
# Operating system (build VM template)
# os: Visual Studio Community 2013 with Update 4
# build platform, i.e. Win32 (instead of x86), x64, Any CPU. This setting is optional.
platform:
- Win32
# - x64
# specify custom environment variables
environment:
GYP_GENERATORS: msvs
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
# build Configuration, i.e. Debug, Release, etc.
configuration:
- Release
# - Debug
# scripts that are called at very beginning, before repo cloning
init:
- cmd: msbuild /version
# clone directory
clone_folder: C:\projects\libpeeracle
# branches to build
branches:
# whitelist
only:
- master
# scripts that run after cloning repository
install:
- cmd: cd C:\projects
- ps: Start-FileDownload 'http://get.videolan.org/vlc/2.2.1/win32/vlc-2.2.1-win32.exe'
- cmd: C:\projects\vlc-2.2.1-win32.exe /S
# scripts to run before build
before_build:
- cmd: cd C:\projects\libpeeracle
- cmd: git submodule init
- cmd: git submodule update
- cmd: set PATH=%PATH%;%cd%\third_party\depot_tools
- cmd: python third_party\webrtc\setup_links.py -f -n
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
- cmd: python build\generate_libvlccore.py
- cmd: python gyp_peeracle.py --disable-cpplint --disable-java
build:
project: C:\projects\libpeeracle\all.sln
# enable MSBuild parallel builds
parallel: true
# MSBuild verbosity level (quiet|minimal|normal|detailed)
verbosity: minimal
artifacts:
- path: libpeeracle\out\Release\*.dll
- path: libpeeracle\out\Release\*.exe
- path: libpeeracle\out\Release\*.lib