mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Attempt to fix ghci test on MacOS (#3986)
On CI GHCi occasionally seems to get stuck on MacOS. I have no clue why that is and I am unable to reproduce this locally. However, based on some testing on CI this change seems to fix this and it simplifies things. The ghci script was originally used when we still had the fat repl target but now that we only load damlc, there is no need for this anymore. CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
e75b98351c
commit
7f387ba03e
7
build.sh
7
build.sh
@ -37,12 +37,7 @@ function cleanup {
|
||||
rm -rf "$GHCI_SCRIPT"
|
||||
}
|
||||
trap cleanup EXIT
|
||||
cat <<EOF > $GHCI_SCRIPT
|
||||
:m DA.Cli.Damlc
|
||||
:main --help
|
||||
:quit
|
||||
EOF
|
||||
da-ghci --data yes //compiler/damlc:damlc -ghci-script $GHCI_SCRIPT -e '()'
|
||||
da-ghci --data yes //compiler/damlc:damlc -e ':main --help'
|
||||
# Check that our IDE works on our codebase
|
||||
./compiler/ghcide-daml.sh compiler/damlc/exe/Main.hs 2>&1 | tee ide-log
|
||||
grep -q "1 file worked, 0 files failed" ide-log
|
||||
|
Loading…
Reference in New Issue
Block a user