Unverified 提交 cafe4564 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo 提交者: GitHub

CI: Install PIP invoke package with --break-system-packages (#1364)

上级 a13ec828
...@@ -32,6 +32,12 @@ jobs: ...@@ -32,6 +32,12 @@ jobs:
# We need to install pip invoke manually. # We need to install pip invoke manually.
- name: pip3 install invoke - name: pip3 install invoke
run: pip3 install invoke run: pip3 install invoke
if: runner.os != 'macOS'
# In macOS we need to specify this option.
- name: pip3 install --break-system-packages invoke
run: pip3 install --break-system-packages invoke
if: runner.os == 'macOS'
# Build the mediasoup-worker-fuzzer binary (which uses libFuzzer). # Build the mediasoup-worker-fuzzer binary (which uses libFuzzer).
- name: invoke -r worker fuzzer - name: invoke -r worker fuzzer
......
...@@ -67,6 +67,12 @@ jobs: ...@@ -67,6 +67,12 @@ jobs:
# We need to install pip invoke manually. # We need to install pip invoke manually.
- name: pip3 install invoke - name: pip3 install invoke
run: pip3 install invoke run: pip3 install invoke
if: runner.os != 'macOS'
# In macOS we need to specify this option.
- name: pip3 install --break-system-packages invoke
run: pip3 install --break-system-packages invoke
if: runner.os == 'macOS'
# We need to install npm deps of worker/scripts/package.json. # We need to install npm deps of worker/scripts/package.json.
- name: npm ci --prefix worker/scripts - name: npm ci --prefix worker/scripts
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论