Skip to content

Commit d1a6705

Browse files
committed
Now! Switch the runs-on back
1 parent 0ab43bb commit d1a6705

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ jobs:
2626
# If we're running on main, use our oracle bare-metal runner for accuracy.
2727
# If we're running on a PR, use github's shared workers to save resources.
2828
#
29-
# TODO - temporarily use self-hosted to get shared-worker environment going
30-
runs-on: 'oracle-bare-metal-64cpu-512gb-x86-64'
31-
# runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-latest' || 'self-hosted' }}
29+
runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-latest' || 'oracle-bare-metal-64cpu-512gb-x86-64' }}
3230
if: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'performance')) || github.event_name == 'push' }}
3331
container:
3432
image: rust:slim-bullseye
@@ -53,7 +51,7 @@ jobs:
5351

5452
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5553
with:
56-
fetch-depth: 0 # Fetch full history for git-based tools
54+
fetch-depth: 10 # Fetch a bit of history so we can do perf diffs
5755

5856
- uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
5957
with:

0 commit comments

Comments
 (0)