Skip to content

deleted qdd.libs

deleted qdd.libs #72

name: Publish Python distribution to TestPyPI
on:
push:
branches:
- 'main'
- 'feature/*'
jobs:
build:
name: Build distribution
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: '3.8'
python-version-sub: '38'
- python-version: '3.9'
python-version-sub: '39'
- python-version: '3.10'
python-version-sub: '310'
steps:
- uses: actions/checkout@v4
# Build by cibuildwheel
- name: Build wheels
uses: pypa/[email protected]
env:
python-version: ${{ matrix.python-version }}
# Modify as needed, you may need to adjust this line according to your requirements
CIBW_BUILD: 'cp${{ matrix.python-version-sub }}-manylinux_x86_64'
CIBW_BEFORE_BUILD: "cmake . -DPYTHON_EXECUTABLE=/usr/local/bin/python${{ matrix.python-version }} -DCMAKE_BUILD_TYPE=Release && cmake --build . -j"
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
name: python-package-distributions
path: ./wheelhouse/*.whl
publish-to-testpypi:
name: Publish Python distribution to TestPyPI
needs:
- build
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/qdd
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- name: Download all the dists
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: dist/
- name: Publish distribution to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/