Skip to content

chore: release

chore: release #3383

Workflow file for this run

name: Rust Semver Checks
on:
pull_request:
branches:
- main
env:
# different strings for install action and feature name
# adapted from https://github.com/TheDan64/inkwell/blob/master/.github/workflows/test.yml
LLVM_MAIN_VERSION: "21"
LLVM_VERSION: "21.1"
LLVM_FEATURE_NAME: "21-1"
jobs:
# Check if changes were made to the relevant files.
# Always returns true if running on the default branch, to ensure all changes are thoroughly checked.
changes:
name: Check for changes
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
rust: ${{ steps.filter.outputs.rust }}
python: ${{ steps.filter.outputs.python }}
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/check-changes
id: filter
rs-semver-checks:
needs: [changes]
if: ${{ needs.changes.outputs.rust == 'true' }}
runs-on: ubuntu-latest
env:
# Path to the cached tket-c-api library
# When this envvar is set, the `./.github/actions/tket-c-api` action **must** be run to fetch the artifacts
# This config is not required, but speeds up the build by caching the tket-c-api library
# The alternative is to install conan and remove the env var
HUGRENV_VERSION: "0.3.1"
HUGRENV_ROOT: "/tmp/hugrverse"
HUGRENV_PLATFORM: "manylinux_2_28_x86_64"
TKET_C_API_PATH: "/tmp/hugrverse"
LD_LIBRARY_PATH: "/tmp/hugrverse/lib:/tmp/hugrverse/lib64"
LLVM_SYS_211_PREFIX: "/tmp/hugrverse"
steps:
- name: Checkout tket
uses: actions/checkout@v6
- uses: quantinuum/hugrverse-env/install-hugrenv-action@main
- uses: quantinuum/hugrverse-actions/rs-semver-checks@main
env:
TKET_C_API_PATH: ${{ env.TKET_C_API_PATH }}
with:
token: ${{ secrets.HUGRBOT_PAT }}