Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
c7723ccb
Unverified
提交
c7723ccb
authored
12月 24, 2021
作者:
Nazar Mokrynskyi
提交者:
GitHub
12月 24, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #741 from nazar-pc/improve-windows-support
Improve Windows support by not requiring MSVC configuration
上级
ec186c5d
8ea1ee0b
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
42 行删除
+8
-42
mediasoup-rust.yaml
.github/workflows/mediasoup-rust.yaml
+0
-12
mediasoup-worker.yaml
.github/workflows/mediasoup-worker.yaml
+1
-30
Makefile
worker/Makefile
+7
-0
没有找到文件。
.github/workflows/mediasoup-rust.yaml
浏览文件 @
c7723ccb
...
...
@@ -20,17 +20,6 @@ jobs:
runs-on
:
${{ matrix.os }}
steps
:
-
name
:
Add MSVC compiler
uses
:
ilammy/msvc-dev-cmd@v1
if
:
runner.os == 'Windows'
# This is needed as a workaround for GNU linker being first in PATH and thus preventing Meson from finding MSVC
# linker.
-
name
:
Remove GNU linker for MSVC
shell
:
bash
run
:
rm /usr/bin/link
if
:
runner.os == 'Windows'
-
name
:
Checkout
uses
:
actions/checkout@v2
...
...
@@ -47,7 +36,6 @@ jobs:
path
:
|
~/.cargo/registry
~/.cargo/git
target
key
:
${{ matrix.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.toml') }}
-
name
:
cargo fmt
...
...
.github/workflows/mediasoup-worker.yaml
浏览文件 @
c7723ccb
...
...
@@ -32,13 +32,6 @@ jobs:
-
os
:
macos-11
cc
:
clang
cxx
:
clang++
# TODO: These build, but don't run, unlock if you figure out why.
# - os: windows-2019
# cc: gcc
# cxx: g++
# - os: windows-2019
# cc: clang
# cxx: clang++
# TODO: Unlock when intermittent unexplainable CI errors are resolved.
# - os: windows-2019
# cc: cl
...
...
@@ -54,25 +47,6 @@ jobs:
CXX
:
${{ matrix.build.cxx }}
steps
:
-
name
:
Add MSVC compiler
uses
:
ilammy/msvc-dev-cmd@v1
if
:
runner.os == 'Windows' && matrix.build.cc == 'cl'
# This is needed as a workaround for GNU linker being first in PATH and
# thus preventing Meson from finding MSVC linker.
-
name
:
Remove GNU linker for MSVC
shell
:
bash
run
:
rm /usr/bin/link
if
:
runner.os == 'Windows' && matrix.build.cc == 'cl'
# Clang is in MSYS2's bin directory, but adding it to PATH breaks a lot of
# stuff, so let's just fix paths.
-
name
:
Specify full path to Clang on Windows
run
:
|
echo "CC=C:\msys64\mingw64\bin\${env:CC}" >> $env:GITHUB_ENV
echo "CXX=C:\msys64\mingw64\bin\${env:CXX}" >> $env:GITHUB_ENV
if
:
runner.os == 'Windows' && matrix.build.cc == 'clang'
-
name
:
Checkout
uses
:
actions/checkout@v2
...
...
@@ -99,7 +73,4 @@ jobs:
-
run
:
npm run worker:build
-
run
:
npm run test:worker
# All compilers on Windows can build everything, but tests fail to run
# on GCC/Clang with "Error -1073741511", remove condition below if you
# fixed it.
if
:
runner.os != 'Windows' || matrix.build.cc == 'cl'
if
:
runner.os != 'Windows'
worker/Makefile
浏览文件 @
c7723ccb
...
...
@@ -38,6 +38,13 @@ else
export
PYTHONPATH
:=
$(PIP_DIR)
:
${
PYTHONPATH
}
endif
# Activate VS environment on Windows by default.
ifeq
($(OS),Windows_NT)
ifeq
($(MESON_ARGS),
""
)
MESON_ARGS
=
$
(
subst
$
\"
,,
"--vsenv"
)
endif
endif
.PHONY
:
\
default meson-ninja setup clean clean-pip clean-subprojects clean-all mediasoup-worker xcode lint format test tidy
\
fuzzer fuzzer-run-all docker-build docker-run libmediasoup-worker
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论