diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5c00667..3ca8369 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -51,8 +51,11 @@ jobs: - uses: pypa/cibuildwheel@v2.21 env: CIBW_BEFORE_BUILD: | - yum install -y blas lapack blas-devel lapack-devel gcc gcc-c++ && - yum clean all + if grep -q 'Ubuntu' /etc/os-release; then + apt-get update && + apt-get install -y libblas-dev liblapack-dev gfortran && + apt-get clean; + fi CIBW_ARCHS_MACOS: auto universal2 SYSTEM_VERSION_COMPAT: 0 CIBW_SKIP: pp37-* pp38-* pp39-* pp31*-macosx*