Skip to content

Commit

Permalink
Allow user to specify build type
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Howe <bhowe@nvidia.com>
  • Loading branch information
bmhowe23 committed Jan 11, 2025
1 parent 003b0c7 commit 5f7f69e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ name: Build wheels

on:
workflow_dispatch:
inputs:
build_type:
type: choice
required: true
description: 'Build Type'
default: 'Release'
options:
- 'Release'
- 'Debug'


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -49,6 +59,7 @@ jobs:
run: |
.github/workflows/scripts/build_wheels.sh \
--cudaq-prefix $HOME/.cudaq \
--build-type ${{ inputs.build_type }}
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5f7f69e

Please sign in to comment.