Skip to content

feat: Add pybind11 bindings, scikit-build-core setup, and CI workflow… #1

feat: Add pybind11 bindings, scikit-build-core setup, and CI workflow…

feat: Add pybind11 bindings, scikit-build-core setup, and CI workflow… #1

Workflow file for this run

name: Pip
on:
workflow_dispatch:
pull_request:
push:
branches:
- dev_py_pkg_build
jobs:
build:
name: Build on ${{ matrix.platform }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Upgrade pip, build tools
run: |
python -m pip install --upgrade pip
pip install build scikit-build-core pybind11
- name: Build and install the package
run: |
pip install --verbose .
- name: Test import
run: |
python -c "import pyectool; print('pyectool imported')"