Skip to content
Open
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
2 changes: 1 addition & 1 deletion .cudaq_version
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"cudaq": {
"repository": "NVIDIA/cuda-quantum",
"ref": "b28cf0f6f2d9387f12ca81b6824b8833a38530af"
"ref": "51671baac373c545c9651c3cfa1a8d371aa67ec7"
}
}
14 changes: 13 additions & 1 deletion .github/workflows/lib_algorithms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,21 @@ on:
required: false

concurrency:
group: ${{ github.workflow }}-build-algorithms-${{ github.ref }}
# cudaq_source must be part of the group: one PR run can invoke this
# workflow twice (pip lanes + pin-triggered source lanes), and a
# shared group would have the later invocation cancel the earlier.
group: ${{ github.workflow }}-build-algorithms-${{ inputs.cudaq_source }}-${{ github.ref }}
cancel-in-progress: true

# The build-and-test job runs inside the cuda-quantum devcontainer, where
# the runner's default shell for `run:` steps resolves to `sh` (dash).
# The steps below use bash syntax (`[[ ]]`), which dash rejects — and a
# failing `[[` inside an `if` condition silently selects the else branch
# instead of erroring the step. Pin bash explicitly.
defaults:
run:
shell: bash

jobs:
build-and-test:
name: Build and test
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/wheel_algorithms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ on:
required: false

concurrency:
group: ${{ github.workflow }}-build-wheels-${{ github.ref }}
# cudaq_wheels must be part of the group: a pin change invokes this
# workflow in both PyPI and Custom modes within one PR run, and a
# shared group would cancel the first with the second.
group: ${{ github.workflow }}-build-wheels-${{ inputs.cudaq_wheels }}-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down
Loading