From 5f7f69e842fa177ddd5fbc92db5380c5a5db35fc Mon Sep 17 00:00:00 2001 From: Ben Howe Date: Sat, 11 Jan 2025 00:43:48 +0000 Subject: [PATCH] Allow user to specify build type Signed-off-by: Ben Howe --- .github/workflows/build_wheels.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build_wheels.yaml b/.github/workflows/build_wheels.yaml index 5317e85..f414b2a 100644 --- a/.github/workflows/build_wheels.yaml +++ b/.github/workflows/build_wheels.yaml @@ -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 }} @@ -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