Skip to content

Commit e008436

Browse files
committed
fixup! tools: add GHA benchmark runner
1 parent e5686ff commit e008436

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ jobs:
9999

100100
- name: Re-build Node.js on the merge commit
101101
# ccache is disabled here to avoid polluting the cache. Local build outputs should make this build relatively quick anyway.
102-
if: ${{ github.event_name == 'workflow_dispatch' }}
103102
run: |
104103
nix-shell \
105104
-I nixpkgs=./tools/nix/pkgs.nix \
@@ -114,7 +113,6 @@ jobs:
114113
'
115114
116115
- name: Run benchmark
117-
if: ${{ github.event_name == 'workflow_dispatch' }}
118116
run: |
119117
nix-shell \
120118
-I nixpkgs=./tools/nix/pkgs.nix \
@@ -151,17 +149,15 @@ jobs:
151149
FILTER: ${{ inputs.filter }}
152150

153151
- name: Upload raw benchmark results
154-
if: ${{ github.event_name == 'workflow_dispatch' }}
155152
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
156153
with:
157154
name: csv-${{ matrix.system }}
158155
path: ${{ matrix.system }}.csv
159156

160-
aggregate-benchmark-results:
157+
aggregate-results:
161158
needs: build
162159
name: Aggregate benchmark results
163-
if: ${{ github.event_name == 'workflow_dispatch' }}
164-
runs-on: ubuntu-latest
160+
runs-on: ubuntu-slim
165161
steps:
166162
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
167163
with:

0 commit comments

Comments
 (0)