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: ...@@ -17,7 +17,7 @@ stages:
stack: stack:
stage: stack stage: stack
cache: cache:
key: stack.yaml key: stack.yaml
paths: paths:
- .stack-root/ - .stack-root/
...@@ -28,14 +28,14 @@ stack: ...@@ -28,14 +28,14 @@ stack:
cabal: cabal:
stage: cabal stage: cabal
cache: cache:
key: cabal.project key: cabal.project
paths: paths:
- dist-newstyle/ - dist-newstyle/
- .cabal/ - .cabal/
policy: pull-push policy: pull-push
script: 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 allow_failure: false
test: test:
...@@ -47,7 +47,7 @@ test: ...@@ -47,7 +47,7 @@ test:
- .cabal/ - .cabal/
policy: pull policy: pull
script: 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: docs:
stage: docs stage: docs
...@@ -69,4 +69,4 @@ docs: ...@@ -69,4 +69,4 @@ docs:
paths: paths:
- ./output - ./output
expire_in: 1 week expire_in: 1 week
allow_failure: true allow_failure: true
\ No newline at end of file
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