Skip to content

Commit

Permalink
tests: workaround for missing ffmpeg in macos-latest M1
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Oct 23, 2024
1 parent 3995eca commit 7ab966d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ jobs:
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
# Temporary fix for 'pip install imageio-ffmpeg'
# not including the FFMPEG binary on Apple Silicon macs
# This step can be removed when issue is fixed in imageio-ffmpeg
# https://github.com/imageio/imageio-ffmpeg/issues/71
- name: Setup FFmpeg
if: runner.name == 'macos-latest'
run: |
brew update
brew install ffmpeg
# Temporary fix for 'pip install imageio-ffmpeg'
# not including the FFMPEG binary on Apple Silicon macs
# This step can be removed when issue is fixed in imageio-ffmpeg
# https://github.com/imageio/imageio-ffmpeg/issues/71
- name: Setup FFmpeg
if: runner.os == 'macOS'
uses: AnimMouse/setup-ffmpeg@v1
- name: Install dependencies
run: |
# prerequisites
Expand Down

0 comments on commit 7ab966d

Please sign in to comment.