Skip to content

Commit 9bffcb2

Browse files
committed
CI: bench: default to bash
1 parent 771fda2 commit 9bffcb2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/bench.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Benchmark
22

3+
defaults:
4+
run:
5+
shell: bash
6+
37
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
48
concurrency:
59
group: ${{ github.head_ref }}-${{ github.workflow }}
@@ -72,17 +76,14 @@ jobs:
7276
- run: cabal configure --enable-benchmarks --max-backjumps 12000
7377

7478
- name: Build
75-
shell: bash
7679
run: cabal build ghcide:benchHist
7780

7881
- name: Bench init
79-
shell: bash
8082
run: cabal bench ghcide:benchHist -j --benchmark-options="all-binaries"
8183

8284
# tar is required to preserve file permissions
8385
# compression speeds up upload/download nicely
8486
- name: tar workspace
85-
shell: bash
8687
run: tar -czf workspace.tar.gz * .git
8788

8889
- name: tar cabal
@@ -142,11 +143,9 @@ jobs:
142143
tar xzf cabal.tar.gz --directory ~/.cabal
143144
144145
- name: Bench
145-
shell: bash
146146
run: cabal bench ghcide:benchHist -j --benchmark-options="${{ matrix.example }}"
147147

148148
- name: Display results
149-
shell: bash
150149
run: |
151150
column -s, -t < ghcide/bench-results/unprofiled/${{ matrix.example }}/results.csv | tee ghcide/bench-results/unprofiled/${{ matrix.example }}/results.txt
152151

0 commit comments

Comments
 (0)