代码拉取完成,页面将自动刷新
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
- APPVEYOR_BUILD_WORKER_IMAGE: macos
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CLANG_VERSION: ToT
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
platform: x64
configuration:
- Release
- Debug
install:
- cmd: set PATH=%APPVEYOR_BUILD_FOLDER%\depot_tools;%PATH%
- sh: export PATH=${APPVEYOR_BUILD_FOLDER}/depot_tools:${PATH}
- sh: "[ ${CI_LINUX:-false} == true ] && sudo apt-get update && sudo apt-get install -y --no-install-recommends libgtk-3-dev libasound2-dev libpulse-dev || :"
- cmd: git config --global core.autocrlf false
- cmd: git config --global core.filemode false
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
- mkdir webrtc
- cd webrtc
- fetch --no-history --nohooks webrtc
- cd src
- ps: echo CONFIGURATION=$env:CONFIGURATION PLATFORM=$env:PLATFORM
- ps: (get-content DEPS) | foreach-object {$_ -replace "'src/resources'],", "'src/resources'],'condition':'rtc_include_tests==true',"} | set-content DEPS
- gclient sync
before_build:
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio\%APPVEYOR_BUILD_WORKER_IMAGE:~-4%\Community\VC\Auxiliary\Build\vcvars64.bat"
- ps: cd $env:APPVEYOR_BUILD_FOLDER
- cmd: cmake -G Ninja -D CMAKE_BUILD_TYPE=%CONFIGURATION% -DWEBRTCROOT=%APPVEYOR_BUILD_FOLDER:\=/%/webrtc -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe .
- sh: cmake -G Ninja -D CMAKE_BUILD_TYPE=${CONFIGURATION} -DWEBRTCROOT=${APPVEYOR_BUILD_FOLDER}/webrtc -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ .
build_script:
- ninja
after_build:
- ps: cpack -C "$env:CONFIGURATION"
artifacts:
- path: webrtc-streamer*.tar.gz
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。