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

17 lines
238 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}" ]