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 if: matrix.os == 'ubuntu-latest'
elif [ "$RUNNER_OS" == "macOS" ]; then - name: Install libsndfile if necessary (macOS)
brew install libsndfile run: |
fi brew install libsndfile
shell: bash if: matrix.os == 'macos-latest'
- name: Install pyebur128 - name: Install pyebur128
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip