Skip to content

Commit

Permalink
Add ffmpeg for Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hackdna committed Dec 14, 2023
1 parent f8390ab commit f2a8205
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Forest dependencies
- name: Install Forest dependencies for Linux
# required by librosa
if: ${{ startsWith(matrix.os, 'ubuntu') }}
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg libsndfile1
- name: Install Forest dependencies for Windows
# required by librosa
if: ${{ startsWith(matrix.os, 'windows') }}
uses: FedericoCarboni/setup-ffmpeg@v2
id: setup-ffmpeg
- name: Install Forest
run: pip install -e .
- name: Install dev dependencies
Expand Down

0 comments on commit f2a8205

Please sign in to comment.