.appveyor.yml 992 Bytes
Newer Older
Andrey Mokhov's avatar
Andrey Mokhov committed
1
clone_folder: "C:\\msys64\\home\\ghc\\shake-build"
2

3
install:
Andrey Mokhov's avatar
Andrey Mokhov committed
4 5
    - set MSYSTEM=MINGW64
    - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
6
    - curl -ostack.zip -LsS --insecure https://www.stackage.org/stack/windows-x86_64
7
    - 7z x stack.zip stack.exe
Andrey Mokhov's avatar
Andrey Mokhov committed
8
    - bash -lc 'curl -LsS http://www.haskell.org/ghc/dist/7.10.3/ghc-7.10.3-x86_64-unknown-mingw32.tar.xz | tar -xJ -C /mingw64 --strip-components=1'
9
    - stack exec -- pacman -S --noconfirm gcc binutils p7zip git
10
    - echo "" | stack --no-terminal install alex happy shake ansi-terminal mtl
11
    - set PATH=%PATH%;C:\Users\appveyor\AppData\Roaming\local\bin\
Andrey Mokhov's avatar
Andrey Mokhov committed
12
    - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\home\ghc\tmp
Andrey Mokhov's avatar
Andrey Mokhov committed
13
    - bash -lc 'mv /home/ghc/tmp/* /home/ghc'
14 15

build_script:
Andrey Mokhov's avatar
Andrey Mokhov committed
16 17 18
    - bash -lc 'cd /home/ghc && ./boot'
    - bash -lc 'cd /home/ghc && echo "" | ./configure --enable-tarballs-autodownload'
    - bash -lc 'cd /home/ghc && ./shake-build/build.bat -j --no-progress'