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