chore(profiling): maybe compile twice?

This commit is contained in:
Gregor Kleen 2021-01-29 11:09:14 +01:00
parent a94ee1747e
commit 984746d8ad

View File

@ -155,7 +155,8 @@ yesod:build:profile:
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 --ghc-options="-fexternal-interpreter"
- stack build --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
- stack build --profile --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip --ghc-options="-osuf p_o"
needs:
- frontend:build
before_script: *haskell