Skip to content

Commit

Permalink
Update build_and_publush.yaml (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
ita9naiwa authored Jan 15, 2024
1 parent 023557d commit caa823e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build_and_publush.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
env:
Expand All @@ -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' }}
Expand Down

0 comments on commit caa823e

Please sign in to comment.