Closed deemp closed 3 months ago
A Windows runner is weird when it comes to Setup.hs
(link):
'
right after the last command in bash -c
. E.g. bash -c '... happy Par.y'
because it thinks the file is Par.y'
.happy Par.y
is the last command. So, I put true
as the last command.;
.stack build
is unavailable inside Setup.hs
. So, I set the code page manually via chcp 65001
inside Setup.hs
.Additionally, on the Windows runner, it's necessary to chcp.com 65001
before running stack build --test
that outputs Unicode characters.
See this comment about code pages.
restore
andsave
actions forsyntax
andpipeline
files to save them asap. Usually, these files don't affect the workflows correctness. Caching these files early improves build times of subsequent workflows.Setup.hs
. Currently, some necessary modules aren't generated (link).--prefetch
because workflows fail (link) - see https://github.com/commercialhaskell/stack/issues/5435--pedantic
--fast