Skip to content

SMURFF v1.1

SMURFF v1.1 #256

Workflow file for this run

name: Build Wheels
on:
pull_request:
push:
branches:
- master
tags:
- v*
release:
jobs:
build_wheels:
name: wheel ${{ matrix.pyver }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-latest, macos-15-intel, macos-15]
pyver: [cp310, cp311, cp312, cp313, cp314]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
fetch-depth: 0
# Used to host cibuildwheel
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install cibuildwheel
run: python -m pip install cibuildwheel
- name: Build wheels
env:
CIBW_BUILD: ${{matrix.pyver}}-*
run: python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ matrix.pyver }}
path: ./wheelhouse/*.whl
merge:
name: merge all wheel artifacts
runs-on: ubuntu-latest
needs: build_wheels
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: all-wheels