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

Andrey Mokhov's avatar
Andrey Mokhov committed
3
4
# cache:
#    - "C:\\msys64\\home\\cabal"
5

6
install:
Andrey Mokhov's avatar
Andrey Mokhov committed
7
8
    - set MSYSTEM=MINGW64
    - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
9
    - bash -lc "pacman -S --noconfirm git binutils p7zip gcc"
10
    - bash -lc "curl -LsS http://www.haskell.org/ghc/dist/7.10.1/ghc-7.10.1-x86_64-unknown-mingw32.tar.xz | tar -xJ -C /mingw64 --strip-components=1"
11
12
    - bash -lc "mkdir -p /usr/local"
    - bash -lc "mkdir -p /usr/local/bin"
13
14
15
    # - bash -lc "curl -LsS https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz | tar -xz -C /usr/local/bin"
    # - bash -lc "mv /usr/local/bin/cabal-1.22.0.0-i386-unknown-mingw32.exe /usr/local/bin/cabal.exe"
    - bash -lc "curl -LsS https://www.haskell.org/cabal/release/cabal-install-1.20.0.3/cabal-1.20.0.3-i386-unknown-mingw32.tar.gz | tar -xz -C /usr/local/bin"
Andrey Mokhov's avatar
Andrey Mokhov committed
16
17
    - bash -lc "cabal update -v3"
    - bash -lc "cabal install -j --prefix=/usr/local alex happy"
Andrey Mokhov's avatar
Andrey Mokhov committed
18
19
20
    - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\mingw64\home\ghc\tmp
    - bash -lc "mv /home/ghc/tmp/* /home/ghc"
    - cd C:\msys64\mingw64\home\ghc\shake-build
Andrey Mokhov's avatar
Andrey Mokhov committed
21
    - bash -lc "cd /home/ghc/shake-build && cabal install --only-dependencies"
22
23

build_script:
24
25
    - bash -lc "cd /home/ghc && ./boot"
    - bash -lc "cd /home/ghc && ./configure --enable-tarballs-autodownload"
26
    - bash -lc "cd /home/ghc && ./shake-build/build.bat -j --no-progress"