Skip to content

Commit

Permalink
Merge #4474
Browse files Browse the repository at this point in the history
4474: Enable benchmark builds in GitHub Actions by default using `benchmarks: True` r=jorisdral a=jorisdral

# Description

The Consensus Mempool benchmark is the only benchmark executable currently on the main branch, but benchmark builds are disabled by default by cabal. As such, our GitHub Actions workflow also does not build benchmark executables. This PR enables benchmark building in GitHub Actions by default, by adding `benchmarks: True` in the relevant `cabal.project.local` file. 



Co-authored-by: Joris Dral <joris@well-typed.com>
  • Loading branch information
iohk-bors[bot] and jorisdral committed Mar 29, 2023
2 parents 086c77b + 5340ed5 commit a0695a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cabal.project.local.Windows
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ max-backjumps: 5000
reorder-goals: True
ignore-project: False
tests: True
benchmarks: True

program-options
ghc-options: -Werror
Expand Down
1 change: 1 addition & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ packages: ./cardano-ping
./cardano-client

tests: True
benchmarks: True

package cardano-ping
flags: +asserts
Expand Down

0 comments on commit a0695a0

Please sign in to comment.