Skip to content

Merge pull request #5 from Prevter/main #1

Merge pull request #5 from Prevter/main

Merge pull request #5 from Prevter/main #1

Workflow file for this run

name: Build PyBroma
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- name: Windows
os: windows-latest
- name: macOS
os: macos-latest
- name: Linux
os: ubuntu-latest
python-version: ["3.11", "3.12", "3.13"]
name: Build ${{ matrix.config.name }} for ${{ matrix.python-version }}
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install scikit-build cython wheel cmake ninja
- name: Build
run: pip wheel . --no-deps --wheel-dir dist
- name: Upload wheel
uses: actions/upload-artifact@v4
with:
name: pybroma-${{ matrix.config.name }}-${{ matrix.python-version }}
path: dist/*.whl