Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install FFMPEG with brew on Mac CI runners #214

Closed
wants to merge 9 commits into from
27 changes: 26 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,26 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.8

# 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: brew install ffmpeg
if: runner.os == 'macOS'
uses: artemnovichkov/[email protected]
GenevieveBuckley marked this conversation as resolved.
Show resolved Hide resolved
run: |
brew update
brew install ffmpeg

- name: Install dependencies
run: |
pip install --upgrade pip
pip install tox
- name: Run task

- name: Run tox
run: tox -e ${{ matrix.task }}

test:
name: ${{ matrix.platform }} py${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
Expand All @@ -64,6 +78,17 @@ jobs:
powershell gl-ci-helpers/appveyor/install_opengl.ps1
if (Test-Path -Path "C:\Windows\system32\opengl32.dll" -PathType Leaf) {Exit 0} else {Exit 1}

# 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: brew install ffmpeg
if: runner.os == 'macOS'
uses: artemnovichkov/[email protected]
run: |
brew update
brew install ffmpeg

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down