Skip to content

Commit

Permalink
Benchmarks on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
turion committed Mar 29, 2024
1 parent 5554a32 commit 1707d45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Install dependencies
# If we had an exact cache hit, the dependencies will be up to date.
if: steps.cache.outputs.cache-hit != 'true'
run: cabal build all --enable-tests --only-dependencies
run: cabal build all --enable-tests --enable-benchmarks --only-dependencies

# Cache dependencies already here, so that we do not have to rebuild them should the subsequent steps fail.
- name: Save cached dependencies
Expand All @@ -95,9 +95,11 @@ jobs:
key: ${{ steps.cache.outputs.cache-primary-key }}

- name: Cabal build packages
run: cabal build all --enable-tests -fdev
run: cabal build all --enable-tests --enable-benchmarks -fdev
- name: Cabal test
run: cabal test all --enable-tests --test-show-details=Always
- name: Cabal bench
run: cabal bench all

build-stack:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1707d45

Please sign in to comment.