Skip to content
Snippets Groups Projects
Verified Commit 3711240e authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Fix armv7

parent 255fc8e0
No related branches found
No related tags found
No related merge requests found
Pipeline #60357 failed
...@@ -19,22 +19,24 @@ fi ...@@ -19,22 +19,24 @@ fi
case "${ARCH}" in case "${ARCH}" in
"ARM") "ARM")
url=https://downloads.haskell.org/~ghcup/0.1.16.1/armv7-linux-ghcup-0.1.16.1 url=https://downloads.haskell.org/~ghcup/0.1.17.8/armv7-linux-ghcup-0.1.17.8
;; ;;
"ARM64") "ARM64")
url=https://downloads.haskell.org/~ghcup/0.1.16.1/aarch64-linux-ghcup-0.1.16.1 url=https://downloads.haskell.org/~ghcup/0.1.17.8/aarch64-linux-ghcup-0.1.17.8
;; ;;
*) *)
url=https://downloads.haskell.org/~ghcup/0.1.16.1/x86_64-linux-ghcup-0.1.16.1 url=https://downloads.haskell.org/~ghcup/0.1.17.8/x86_64-linux-ghcup-0.1.17.8
;; ;;
esac esac
curl -sSfL "${url}" > ./ghcup-bin curl -sSfL "${url}" > ./ghcup-bin
chmod +x ghcup-bin
./ghcup-bin -v upgrade -f mkdir -p "$CI_PROJECT_DIR/.ghcup/bin"
mv ghcup-bin "$CI_PROJECT_DIR/.ghcup/bin"/ghcup
chmod +x "$CI_PROJECT_DIR/.ghcup/bin"/ghcup
ghcup install ghc ${GHC_VERSION} || { cat "${GHCUP_INSTALL_BASE_PREFIX}"/logs/* ; exit 1 ; } ghcup install ghc ${GHC_VERSION} || { cat "${GHCUP_INSTALL_BASE_PREFIX}"/logs/* ; exit 1 ; }
ghcup set ghc ${GHC_VERSION} ghcup set ghc ${GHC_VERSION}
ghcup install cabal ${CABAL_VERSION} ghcup install cabal ${CABAL_VERSION}
rm ghcup-bin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment