Skip to content

ci: GitHub actions workflow #38

ci: GitHub actions workflow

ci: GitHub actions workflow #38

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- master
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-13
macos-target: "13.0"
openblas-path: "/usr/local/opt/openblas"
steps:
- uses: actions/checkout@v4
# Used to host cibuildwheel
- uses: actions/setup-python@v5
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.18.1
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ENVIRONMENT: >-
MACOSX_DEPLOYMENT_TARGET=${{ matrix.macos-target }}
CMAKE_PREFIX_PATH=${{ matrix.openblas-path }}
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl