Skip to content
Snippets Groups Projects
Commit 587056e6 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Try adding Windows support

parent 613527bc
No related branches found
No related tags found
No related merge requests found
......@@ -75,3 +75,23 @@ build-x86_64-darwin:
- pushd "ghc-${GHC_VERSION}"; ./configure --prefix="$toolchain"; make install; popd
tags:
- x86_64-darwin
build-x86_64-windows:
extends: .build
before_script:
- toolchain="$(pwd)/toolchain/"
- mkdir -p "$toolchain/bin/"
- export PATH="$toolchain/bin:$PATH"
# Install cabal
- curl -o cabal.zip https://downloads.haskell.org/~cabal/cabal-install-$CABAL_INSTALL_VERSION/cabal-install-$CABAL_INSTALL_VERSION-x86_64-unknown-mingw32.zip
- unzip u cabal.zip
- cp cabal.exe "$toolchain/bin/cabal"
- chmod +x "$toolchain/bin/cabal"
# Install ghc
- curl -sSfL -o ghc.tar.xz "https://downloads.haskell.org/~ghc/$GHC_VERSION/ghc-$GHC_VERSION-x86_64-unknown-mingw32.tar.xz"
- tar -xf ghc.tar.xz
- cp -R "ghc-$GHC_VERSION/" $toolchain
tags:
- new-x86_64-windows
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