Install libsndfile for tests in Linux/macOS

This commit is contained in:
jodhus 2021-03-25 10:50:40 -04:00 committed by GitHub
parent 0755c9a7c3
commit f9e1689888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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