forked from napari/napari-animation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
brew install ffmpeg on mac to fix CI tests
Temporary fix for issue imageio/imageio-ffmpeg#71
- Loading branch information
1 parent
ff9d817
commit b237ef6
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
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 }} | ||
|
@@ -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 | ||
|