Skip to content

Commit a9477d1

Browse files
Golovanov399jonathanpwang
authored andcommitted
Update workflow
1 parent f18a05c commit a9477d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/extension-tests.cuda.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ on:
1313
- "extensions/**"
1414
- "Cargo.toml"
1515
- ".github/workflows/extension-tests.cuda.yml"
16+
workflow_dispatch:
17+
inputs:
18+
machine_type:
19+
description: "Runner machine type (e.g. test-gpu-nvidia/cpu=8+32)"
20+
required: false
21+
default: test-gpu-nvidia/cpu=8+32
1622

1723
concurrency:
1824
group: ${{ github.workflow_ref }}-extension-tests-cuda-${{ github.event.pull_request.number || github.sha }}
@@ -31,7 +37,7 @@ jobs:
3137
- "rv32im native"
3238
- "keccak256 sha256 bigint algebra ecc pairing"
3339
runs-on:
34-
- runs-on=${{ github.run_id }}-extension-tests-cuda-${{ github.run_attempt }}-${{ strategy.job-index }}/runner=test-gpu-nvidia/cpu=8+32
40+
- runs-on=${{ github.run_id }}-extension-tests-cuda-${{ github.run_attempt }}-${{ strategy.job-index }}/runner=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.machine_type || 'test-gpu-nvidia/cpu=8+32' }}
3541

3642
steps:
3743
- uses: runs-on/action@v2

0 commit comments

Comments
 (0)