From 93af083650f237b4ef59d75578d8d0b2a27cf7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20M=C3=BCller?= Date: Fri, 6 Dec 2024 22:26:07 +0100 Subject: [PATCH] ci: ffmpeg for macos-latest --- .github/workflows/check.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8b582a4..f0dc822 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,6 +25,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: Setup xvfb (Linux) if: runner.os == 'Linux' run: |