Skip to content

Build wheels and upload to Test PyPI #19

Build wheels and upload to Test PyPI

Build wheels and upload to Test PyPI #19

Workflow file for this run

name: Build wheels and upload to Test PyPI
on:
workflow_dispatch
jobs:
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build
run: python -m pip install build
- name: Build sdist
run: python -m build -s
- uses: actions/upload-artifact@v4
with:
name: numina-sdist
path: ./dist/numina*.tar.gz
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-* cp313-*
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_SKIP: '*_i686'
- uses: actions/upload-artifact@v4
with:
name: numina-wheels
path: ./wheelhouse/numina*.whl