ghcup-hs/.github/scripts/bootstrap.sh

19 lines
365 B
Bash
Raw Permalink Normal View History

2022-10-20 12:37:50 +00:00
#!/usr/bin/env bash
set -eux
2023-01-14 13:00:32 +00:00
. .github/scripts/env.sh
2022-10-20 12:37:50 +00:00
mkdir -p "$CI_PROJECT_DIR"/.local/bin
git describe --always
### build
./scripts/bootstrap/bootstrap-haskell
[ "$(ghc --numeric-version)" = "${BOOTSTRAP_HASKELL_GHC_VERSION}" ]
# https://github.com/actions/runner-images/issues/7061
[ "$(ghcup config | grep --color=never meta-mode)" = "meta-mode: Lax" ]
2022-10-20 12:37:50 +00:00