You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
524 B

  1. #!/bin/sh
  2. set -eux
  3. . "$( cd "$(dirname "$0")" ; pwd -P )/../ghcup_env"
  4. mkdir -p "$CI_PROJECT_DIR"/.local/bin
  5. cp ./ghcup "$CI_PROJECT_DIR"/.local/bin/ghcup
  6. ghcup --version
  7. ghcup -v install ${GHC_VERSION}
  8. ghcup -v set ${GHC_VERSION}
  9. ghcup -v install-cabal
  10. cabal --version
  11. ghcup -v debug-info
  12. ghcup -v list
  13. ghcup -v list -t ghc
  14. ghcup -v list -t cabal-install
  15. ghc --version
  16. ghci --version
  17. ghc-$(ghc --numeric-version) --version
  18. ghci-$(ghc --numeric-version) --version
  19. ghcup -v upgrade
  20. ghcup -v rm -f ${GHC_VERSION}