macOS CI: fix package conflicts due to Homebrew's Python 2

This commit is contained in:
Hyunjin Song
2020-01-02 12:33:50 +09:00
parent 89d8363218
commit ea670287f3
2 changed files with 6 additions and 1 deletions

View File

@@ -178,7 +178,10 @@ jobs:
- *restore_cache
- run:
name: Install Homebrew dependencies
command: brew update && brew install ccache fftw cmake pkg-config libogg libvorbis lame libsndfile libsamplerate jack sdl libgig libsoundio stk fluid-synth portaudio fltk qt5 carla
command: |
# unlink Homebrew's python 2 to prevent an node-gyp error
brew unlink python@2 || true
brew update && brew install ccache fftw cmake pkg-config libogg libvorbis lame libsndfile libsamplerate jack sdl libgig libsoundio stk fluid-synth portaudio fltk qt5 carla
- run:
name: Install nodejs dependencies
command: npm install -g appdmg

View File

@@ -3,3 +3,5 @@
set -e
brew update
# Python 2 may cause conflicts on dependency installation
brew unlink python@2 || true