Skip to content

Python bind

Python bind #4

Workflow file for this run

name: Wheels
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build_sdist:
name: Build SDist
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: pipx run build --sdist
- name: Check
run: pipx run twine check dist/*
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
build_wheels:
name: Wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
run: |
sudo apt-get update && sudo apt-get install -y cmake git g++ libtbb-dev libmpfr-dev libgmp-dev libpython3-dev python3 python3-distutils
git submodule update --init --recursive
- name: CI Build Wheel
uses: pypa/[email protected]
env:
CIBW_ARCHS: x86_64
- name: Upload
uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl