Install project dependencies, pass -j --no-progress to build.bat
[ghc.git] / .appveyor.yml
1 clone_folder: "C:\\msys64\\home\\ghc\\shake-build"
2
3 install:
4     - set MSYSTEM=MINGW64
5     - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
6     - bash -lc "pacman -S --noconfirm git binutils p7zip gcc"
7     - 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"
8     - bash -lc "mkdir /usr/local"
9     - bash -lc "mkdir /usr/local/bin"
10     - 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"
11     - ren C:\msys64\usr\local\bin\cabal-1.22.0.0-i386-unknown-mingw32.exe C:\msys64\usr\local\bin\cabal.exe
12     - bash -lc "cabal update"
13     - bash -lc "cabal install -j --prefix=/usr/local alex happy"
14     - bash -lc "git clone --recursive git://git.haskell.org/ghc.git /home/ghc"
15     - bash -lc "cd /home/ghc/shake-build && cabal install --only-dependencies"
16
17 build_script:
18     - bash -lc "cd /home/ghc && ./boot"
19     - bash -lc "cd /home/ghc && ./configure --enable-tarballs-autodownload"
20     - bash -lc "cd /home/ghc && ./shake-build/build.bat -j --no-progress"