Skip to content

Build/Test/Release

Build/Test/Release #8

Workflow file for this run

# the name of this file must match the one in pypi.org config
name: Build/Test/Release
on:
release:
types:
- published
permissions:
id-token: write # This is required for requesting the JWT
jobs:
main-build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
compiler: [clang++-17]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Main Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Main Build
uses: ./.github/actions/build
env:
BUILD_OS: ${{ matrix.os }}
CXX: ${{ matrix.compiler }}
- name: Publish release distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1