mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Merge pull request #1041 from ZLMediaKit/feature/workflow-windows
添加 MSVC CI
This commit is contained in:
commit
7885777429
30
.github/workflows/msvc-ci.yml
vendored
Normal file
30
.github/workflows/msvc-ci.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: MSVC C/C++ CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-2019
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
submodules: 'recursive'
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- name: 配置 vcpkg
|
||||||
|
uses: lukka/run-vcpkg@v7
|
||||||
|
with:
|
||||||
|
vcpkgDirectory: '${{github.workspace}}/vcpkg'
|
||||||
|
vcpkgTriplet: x64-windows-static
|
||||||
|
# 2021.05.12
|
||||||
|
vcpkgGitCommitId: '5568f110b509a9fd90711978a7cb76bae75bb092'
|
||||||
|
vcpkgArguments: 'openssl libsrtp'
|
||||||
|
|
||||||
|
- name: 编译
|
||||||
|
uses: lukka/run-cmake@main
|
||||||
|
with:
|
||||||
|
useVcpkgToolchainFile: true
|
||||||
|
buildDirectory: '${{github.workspace}}/build'
|
||||||
|
cmakeAppendedArgs: '-DCMAKE_ENABLE_WEBRTC:BOOL=ON'
|
||||||
|
cmakeBuildType: 'RelWithDebInfo'
|
@ -1 +1 @@
|
|||||||
Subproject commit 180f173c10cb350cf13d5108bb9cd3c3f555e055
|
Subproject commit 935ae9406bc5569e916dba604ec3ce5f6cf84bcf
|
Loading…
Reference in New Issue
Block a user