forked from mpromonet/webrtc-streamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
49 lines (38 loc) · 1.41 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
image: Visual Studio 2017
clone_folder: c:\projects\webrtc-streamer
platform: x64
configuration:
- Release
environment:
generator: "Visual Studio 15 2017 Win64"
install:
- git submodule update --init
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git ..\depot_tools\
- set PATH=C:\projects\depot_tools;%PATH%
- set DEPOT_TOOLS_WIN_TOOLCHAIN=0
- mkdir ..\webrtc
- cd ..\webrtc
- fetch webrtc
- cd src
- gn gen out/Release --args="is_debug=false rtc_use_h264=true ffmpeg_branding=\"Chrome\" rtc_include_tests=false rtc_enable_protobuf=false use_custom_libcxx=false rtc_include_pulse_audio=false rtc_build_examples=false use_sysroot=false is_clang=false treat_warnings_as_errors=false"
- ninja -C out/Release jsoncpp rtc_json webrtc builtin_audio_decoder_factory
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- cmake . -G "%generator%"
build:
project: c:\projects\webrtc-streamer\webrtc-streamer.sln
after_build:
- move Release\webrtc-streamer.exe .
- 7z a webrtc-streamer_v%APPVEYOR_REPO_TAG_NAME%-%PLATFORM%.zip webrtc-streamer.exe html
artifacts:
- path: webrtc-streamer*.zip
deploy:
provider: GitHub
auth_token:
secure: Ov3sAkiU1iRjAOc7GYaScSUujzhKiTCz/gZ4uQws2fTaNu8O5FUciAQk4uuGeiC7
artifact: webrtc-streamer_v$(APPVEYOR_REPO_TAG_NAME)-$(PLATFORM).zip
draft: false
prerelease: false
on:
branch: master
appveyor_repo_tag: true