Commit 82955e70 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Disable optimisations in CI builds

parent 8d0679e0
Pipeline #4368 passed with stage
......@@ -17,7 +17,7 @@ stages:
stack:
stage: stack
cache:
cache:
key: stack.yaml
paths:
- .stack-root/
......@@ -28,14 +28,14 @@ stack:
cabal:
stage: cabal
cache:
cache:
key: cabal.project
paths:
- dist-newstyle/
- .cabal/
policy: pull-push
script:
- nix-shell --run "./bin/update-cabal-project $CABAL_STORE_DIR && cabal --store-dir=$CABAL_STORE_DIR v2-build"
- 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
test:
......@@ -47,7 +47,7 @@ test:
- .cabal/
policy: pull
script:
- nix-shell --run "./bin/update-cabal-project $CABAL_STORE_DIR && cabal --store-dir=$CABAL_STORE_DIR v2-test --test-show-details=streaming"
- nix-shell --run "./bin/update-cabal-project $CABAL_STORE_DIR && cabal --store-dir=$CABAL_STORE_DIR v2-test --test-show-details=streaming --ghc-options='-O0 -fclear-plugins'"
docs:
stage: docs
......@@ -69,4 +69,4 @@ docs:
paths:
- ./output
expire_in: 1 week
allow_failure: true
\ No newline at end of file
allow_failure: true
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