diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2019-03-17 10:24:31 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2019-03-17 10:24:31 +0000 |
commit | abb12a81b1b5dc9ea88d42564e9a189c4caec151 (patch) | |
tree | 16448d890c17c1c0c0d5310d882da9dbddb42526 | |
parent | cb61371e3260e07be724a04b72a935133f66b514 (diff) | |
download | haskell-abb12a81b1b5dc9ea88d42564e9a189c4caec151.tar.gz |
Check hadrian/ghci.sh script output to determine pass/failwip/fix-ghci-ci
ghci always exits with exit code 0 so you have to check the output
to see if the modules loaded succesfully.
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d9ebe2708..5e43a531c2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,8 +109,8 @@ hadrian-ghc-in-ghci: - if [[ -d ./cabal-cache ]]; then cp -R ./.cabal-cache ~/.cabal-cache; fi - ./boot - ./configure $CONFIGURE_ARGS - # Load ghc-in-ghci then immediately exit - - echo ":q" | hadrian/ghci.sh + # Load ghc-in-ghci then immediately exit and check the modules loaded + - echo ":q" | hadrian/ghci.sh | tail -n2 | grep "Ok," cache: key: hadrian-ghci paths: |