Fixes for libsndfile

This commit is contained in:
jodhus 2021-03-25 11:11:29 -04:00 committed by GitHub
parent f9e1689888
commit a000289168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,14 +24,14 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install libsndfile if necessary - name: Install libsndfile if necessary (Linux)
run: | run: |
if [ "$RUNNER_OS" == "Linux" ]; then
apt install libsndfile1 apt install libsndfile1
elif [ "$RUNNER_OS" == "macOS" ]; then if: matrix.os == 'ubuntu-latest'
- name: Install libsndfile if necessary (macOS)
run: |
brew install libsndfile brew install libsndfile
fi if: matrix.os == 'macos-latest'
shell: bash
- name: Install pyebur128 - name: Install pyebur128
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip