Skip to content

Commit 9b1e4bf

Browse files
committed
Fix benchmark artifact uploads
1 parent e000aeb commit 9b1e4bf

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

.github/workflows/bench.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,24 +140,32 @@ jobs:
140140
run: |
141141
column -s, -t < ghcide/bench-results/unprofiled/${{ matrix.example }}/results.csv | tee ghcide/bench-results/unprofiled/${{ matrix.example }}/results.txt
142142
143+
- name: tar benchmarking artifacts
144+
run: |
145+
tar -czf benchmark-artifacts.tar.gz \
146+
ghcide/bench-results/results.* \
147+
ghcide/bench-results/**/*.csv \
148+
ghcide/bench-results/**/*.svg \
149+
ghcide/bench-results/**/*.eventlog.html
150+
143151
- name: Archive benchmarking artifacts
144152
uses: actions/upload-artifact@v3
145153
with:
146154
name: bench-results-${{ runner.os }}-${{ matrix.ghc }}
147-
path: |
148-
ghcide/bench-results/results.*
149-
ghcide/bench-results/**/*.csv
150-
ghcide/bench-results/**/*.svg
151-
ghcide/bench-results/**/*.eventlog.html
155+
path: benchmark-artifacts.tar.gz
156+
157+
- name: tar benchmarking logs
158+
run: |
159+
tar -czf benchmark-logs.tar.gz \
160+
ghcide/bench-results/**/*.log \
161+
ghcide/bench-results/**/*.eventlog \
162+
ghcide/bench-results/**/*.hp
152163
153164
- name: Archive benchmark logs
154165
uses: actions/upload-artifact@v3
155166
with:
156167
name: bench-logs-${{ runner.os }}-${{ matrix.ghc }}
157-
path: |
158-
ghcide/bench-results/**/*.log
159-
ghcide/bench-results/**/*.eventlog
160-
ghcide/bench-results/**/*.hp
168+
path: benchmark-logs.tar.gz
161169

162170
bench_post_job:
163171
if: always()

0 commit comments

Comments
 (0)