chore: offer profiled build

This commit is contained in:
Gregor Kleen 2021-01-28 17:11:49 +01:00
parent c2e22d2cd2
commit d7ed834fba

View File

@ -145,6 +145,28 @@ yesod:build:
retry: 2
interruptible: true
resource_group: ram
yesod:build-profile:
services: *build-services
stage: yesod:build
script:
- stack build --profile --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
needs:
- frontend:build
before_script: *haskell
artifacts:
paths:
- bin/
name: "${CI_JOB_NAME}"
dependencies:
- frontend:build
when: manual
retry: 2
interruptible: true
resource_group: ram
frontend:test:
cache: