Skip to content

Commit a0b2dd3

Browse files
Update benchmarks.yml
1 parent af183a4 commit a0b2dd3

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/benchmarks.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
halt-for-connection:
10+
description: 'Should this workflow run wait for a remote connection?'
11+
type: choice
12+
required: true
13+
default: 'no'
14+
options:
15+
- 'yes'
16+
- 'no'
717

818
jobs:
919
# jax-build:
@@ -61,7 +71,10 @@ jobs:
6171
with:
6272
repository: openxla/xla # Replace with your fork if needed
6373
path: xla
64-
74+
- name: Wait For Connection
75+
uses: google-ml-infra/actions/ci_connection@main
76+
with:
77+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
6578
- name: Install dependencies
6679
working-directory: xla
6780
run: |
@@ -85,8 +98,3 @@ jobs:
8598
working-directory: xla
8699
run: bazel build -c opt --config=cuda //xla/...
87100

88-
89-
90-
91-
92-

0 commit comments

Comments
 (0)