From caa823e697fa7cb5d249d6020a4961b6835b6100 Mon Sep 17 00:00:00 2001 From: Hyunsung Lee Date: Mon, 15 Jan 2024 12:50:27 +0900 Subject: [PATCH] Update build_and_publush.yaml (#84) --- .github/workflows/build_and_publush.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_publush.yaml b/.github/workflows/build_and_publush.yaml index 5e2a18c..13a0aa8 100644 --- a/.github/workflows/build_and_publush.yaml +++ b/.github/workflows/build_and_publush.yaml @@ -32,7 +32,14 @@ jobs: uses: docker/setup-qemu-action@v2 with: platforms: all - + + - name: install openblas + run: | + if [ "$RUNNER_OS" == "Linux" ]; then + apt install libopenblas-dev + elif [ "$RUNNER_OS" == "macOS" ]; then + brew install openblas + - name: Build wheels uses: pypa/cibuildwheel@v2.13.1 env: @@ -42,10 +49,6 @@ jobs: - name: Build sdist run: | - if [ "$RUNNER_OS" == "Linux" ]; then - apt install libopenblas-dev - elif [ "$RUNNER_OS" == "macOS" ]; then - brew install openblas pip install build python -m build . --sdist -o wheelhouse if: ${{ matrix.python-version == '311' && runner.os == 'Linux' && matrix.cibw-arch == 'auto' }}