Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions: {}
jobs:
build-sdist:
name: 🐍 Packaging
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
permissions:
contents: read

Expand All @@ -31,7 +31,7 @@ jobs:
windows-2022,
windows-11-arm,
]
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
runs-on: ${{ matrix.runs-on }}
permissions:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions: {}
jobs:
change-detection:
name: 🔍 Change
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
permissions:
contents: read

Expand All @@ -39,7 +39,7 @@ jobs:
compiler: gcc
preset: debug
run-on-draft: true
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-ubuntu.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-ubuntu.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
runs-on: ${{ matrix.runs-on }}
compiler: ${{ matrix.compiler }}
Expand All @@ -64,7 +64,7 @@ jobs:
compiler: clang
preset: debug
run-on-draft: true
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-macos.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-macos.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
runs-on: ${{ matrix.runs-on }}
compiler: ${{ matrix.compiler }}
Expand All @@ -82,14 +82,14 @@ jobs:
matrix:
runs-on: [windows-2022, windows-11-arm]
compiler: [msvc]
preset: [release-windows]
preset: [release]
run-on-draft: [false]
include:
- runs-on: windows-2022
compiler: msvc
preset: debug-windows
preset: debug
run-on-draft: true
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-windows.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-windows.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
runs-on: ${{ matrix.runs-on }}
compiler: ${{ matrix.compiler }}
Expand All @@ -102,7 +102,7 @@ jobs:
name: 🇨 Lint
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-linter.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-linter.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
build-project: true
clang-version: 20
Expand All @@ -122,7 +122,7 @@ jobs:
fail-fast: false
matrix:
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-26, windows-2022]
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
runs-on: ${{ matrix.runs-on }}
permissions:
Expand All @@ -132,7 +132,7 @@ jobs:
name: 🐍 Coverage
needs: [change-detection, python-tests]
if: fromJSON(needs.change-detection.outputs.run-python-tests)
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
permissions:
contents: read
id-token: write
Expand All @@ -141,7 +141,7 @@ jobs:
name: 🐍 Lint
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-python-linter)
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
check-stubs: true
enable-ty: true
Expand All @@ -153,7 +153,7 @@ jobs:
name: 🚀 CD
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-cd)
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
permissions:
contents: read

Expand All @@ -172,7 +172,7 @@ jobs:
windows-2022,
windows-11-arm,
]
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
runs-on: ${{ matrix.runs-on }}
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/templating.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
private-key: ${{ secrets.APP_PRIVATE_KEY }}
permission-contents: write # Needed to push the templating branch
permission-pull-requests: write # Needed to open the templating pull request
- uses: munich-quantum-toolkit/templates@26c7cb8534daf355596bf0a31379ba84d097c768 # v1.5.1
- uses: munich-quantum-toolkit/templates@93e56d3f8ad374d6bef4e57591a02bb5c6c03675 # v1.5.3
with:
token: ${{ steps.create-token.outputs.token }}
name: Debugger
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/update-mqt-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ on:
# run once a month on the first day of the month at 00:00 UTC
- cron: "0 0 1 * *"
workflow_dispatch:
inputs:
update-to-head:
description: "Update to the latest commit on the default branch"
type: boolean
required: false
default: false
pull_request:
paths:
- .github/workflows/update-mqt-core.yml
Expand All @@ -23,9 +17,9 @@ permissions: {}
jobs:
update-mqt-core:
name: ⬆️ Update MQT Core
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-mqt-core-update.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-mqt-core-update.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
update-to-head: ${{ github.event.inputs.update-to-head == 'true' }}
max-major-version: "3"
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
runs-on: [ubuntu-24.04, macos-26, windows-2022]
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-qiskit-upstream-tests.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-qiskit-upstream-tests.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
runs-on: ${{ matrix.runs-on }}
setup-z3: true
Expand All @@ -32,7 +32,7 @@ jobs:
name: Create issue on failure
needs: qiskit-upstream-tests
if: ${{ always() }}
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-qiskit-upstream-issue.yml@ae4c1005796fedc123c3c70cdba94ce643c9fcae # v2.3.1
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-qiskit-upstream-issue.yml@99af11652a4238dbe50ebe4b003a9f0fd5fb8085 # v2.4.1
with:
tests-result: ${{ needs.qiskit-upstream-tests.result }}
permissions:
Expand Down
74 changes: 8 additions & 66 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,30 @@
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}"
},
{
"name": "base-unix",
"hidden": true,
"inherits": "base",
"condition": {
"type": "inList",
"string": "${hostSystemName}",
"list": ["Linux", "Darwin"]
},
"description": "Default configuration for Linux and macOS builds. Uses the Ninja generator",
"binaryDir": "${sourceDir}/build/${presetName}",
"description": "Default configuration. Uses the Ninja generator",
"generator": "Ninja"
},
{
"name": "base-windows",
"hidden": true,
"inherits": "base",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"description": "Default configuration for Windows builds. Uses the default generator"
},
{
"name": "debug",
"inherits": "base-unix",
"inherits": "base",
"displayName": "Debug config",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "Embedded"
}
},
{
"name": "release",
"inherits": "base-unix",
"inherits": "base",
"displayName": "Release config",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "coverage",
"inherits": "base-unix",
"inherits": "base",
"displayName": "Coverage config",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
Expand All @@ -56,28 +36,12 @@
},
{
"name": "lint",
"inherits": "base-unix",
"inherits": "base",
"displayName": "Lint config",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_MQT_DEBUGGER_BINDINGS": "ON"
}
},
{
"name": "debug-windows",
"inherits": "base-windows",
"displayName": "Windows Debug config",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release-windows",
"inherits": "base-windows",
"displayName": "Windows Release config",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"buildPresets": [
Expand All @@ -96,16 +60,6 @@
{
"name": "lint",
"configurePreset": "lint"
},
{
"name": "debug-windows",
"configurePreset": "debug-windows",
"configuration": "Debug"
},
{
"name": "release-windows",
"configurePreset": "release-windows",
"configuration": "Release"
}
],
"testPresets": [
Expand All @@ -132,18 +86,6 @@
"name": "coverage",
"inherits": "base",
"configurePreset": "coverage"
},
{
"name": "debug-windows",
"inherits": "base",
"configurePreset": "debug-windows",
"configuration": "Debug"
},
{
"name": "release-windows",
"inherits": "base",
"configurePreset": "release-windows",
"configuration": "Release"
}
]
}
Loading