From f2a8205e8eedcd44589128bc3351f7ccb8ef9376 Mon Sep 17 00:00:00 2001 From: Ilya Sytchev Date: Thu, 14 Dec 2023 14:42:13 -0500 Subject: [PATCH] Add ffmpeg for Windows builds --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6bbc304a..90b8374b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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