diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 87ef99a630..042dd4491d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,9 +26,9 @@ jobs: - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl - name: publish-arm64-macos + name: publish-shared-wheels - publish-arm64-macos: + publish-shared-wheels: name: Publish arm64 macOS runs-on: ubuntu-latest needs: [wheel-arm64-macos] @@ -75,6 +75,7 @@ jobs: run: | python -m cibuildwheel --output-dir wheelhouse env: + CIBW_BEFORE_ALL_LINUX: "sed -i -e 's/^mirrorlist/#mirrorlist/' -e 's/^#baseurl/baseurl/' -e 's/mirror.centos.org/vault.centos.org/' /etc/yum.repos.d/*.repo && yum install -y openblas-devel" CIBW_ARCHS_LINUX: aarch64 CIBW_TEST_SKIP: "cp38* cp39* cp310* cp311*" - uses: actions/upload-artifact@v4 @@ -112,6 +113,7 @@ jobs: env: CIBW_ARCHS_LINUX: s390x CIBW_TEST_SKIP: "cp*" + CIBW_BEFORE_ALL: "sed -i -e 's/^mirrorlist/#mirrorlist/' -e 's/^#baseurl/baseurl/' -e 's/mirror.centos.org/vault.centos.org/' /etc/yum.repos.d/*.repo && yum install -y openblas-devel" - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl @@ -147,6 +149,7 @@ jobs: env: CIBW_ARCHS_LINUX: ppc64le CIBW_TEST_SKIP: "cp*" + CIBW_BEFORE_ALL: "sed -i -e 's/^mirrorlist/#mirrorlist/' -e 's/^#baseurl/baseurl/' -e 's/mirror.centos.org/vault.centos.org/' /etc/yum.repos.d/*.repo && yum install -y openblas-devel" - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl