From ccb4a221a8b8ac40c3c4518ee05b3b9fd688986a Mon Sep 17 00:00:00 2001 From: Josh Washburne Date: Wed, 4 Sep 2024 10:48:58 -0400 Subject: [PATCH] Install libsndfile for linux/macos. --- .github/workflows/build-test-pypi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-test-pypi.yml b/.github/workflows/build-test-pypi.yml index dda8e1f..ff620e8 100644 --- a/.github/workflows/build-test-pypi.yml +++ b/.github/workflows/build-test-pypi.yml @@ -76,6 +76,8 @@ jobs: # Will re-enable ARM64 once libebur128 pull request #131 is merged. # https://github.com/jiixyj/libebur128/pull/131 #CIBW_ARCHS_WINDOWS: "auto ARM64" + CIBW_BEFORE_TEST_LINUX: sudo apt install libsndfile1 + CIBW_BEFORE_TEST_MACOS: brew install libsndfile CIBW_BUILD: "cp${{ steps.pythonversion.outputs.value }}-*" CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}" CIBW_TEST_COMMAND: pytest {package}/tests