fix: install opus on macOS CI
This commit is contained in:
@@ -10,6 +10,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
CMAKE_POLICY_VERSION_MINIMUM: 3.5
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Test job
|
# Test job
|
||||||
@@ -49,6 +50,10 @@ jobs:
|
|||||||
libssl-dev \
|
libssl-dev \
|
||||||
libasound2-dev
|
libasound2-dev
|
||||||
|
|
||||||
|
- name: Install system dependencies (macOS)
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
run: brew install opus pkg-config
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
@@ -116,6 +121,10 @@ jobs:
|
|||||||
libssl-dev \
|
libssl-dev \
|
||||||
libasound2-dev
|
libasound2-dev
|
||||||
|
|
||||||
|
- name: Install system dependencies (macOS)
|
||||||
|
if: matrix.platform == 'macos'
|
||||||
|
run: brew install opus pkg-config
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user