Commit 35cb5887 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Add bench step

parent 973417fb
......@@ -12,6 +12,7 @@ variables:
stages:
- stack
- cabal
- bench
- test
stack:
......@@ -37,6 +38,18 @@ cabal:
- nix-shell --run "./bin/update-cabal-project $CABAL_STORE_DIR && cabal --store-dir=$CABAL_STORE_DIR v2-build --ghc-options='-O0 -fclear-plugins'"
allow_failure: false
bench:
stage: bench
cache:
key: cabal.project
paths:
- dist-newstyle/
- .cabal/
policy: pull-push
script:
- nix-shell --run "cabal --store-dir=$CABAL_STORE_DIR v2-bench --ghc-options='-fclear-plugins'"
allow_failure: false
test:
stage: test
cache:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment