#143, turn of name shadowing warning
[hadrian.git] / .appveyor.yml
1 clone_folder: "C:\\msys64\\home\\ghc\\shake-build"
2 environment:
3   global:
4     STACK_ROOT: "c:\\sr"
5
6 cache:
7     - "c:\\sr"
8
9 install:
10     - cd
11     - set MSYSTEM=MINGW64
12     - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\msys64;%PATH%
13     - set PATH=%PATH%;C:\Users\appveyor\AppData\Roaming\local\bin\;%APPVEYOR_BUILD_FOLDER%
14     - curl -ostack.zip -LsS --insecure https://www.stackage.org/stack/windows-x86_64
15     - 7z x stack.zip stack.exe
16     - 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"
17     - stack exec -- pacman -S --noconfirm gcc binutils p7zip git
18     - echo "" | stack --no-terminal install alex happy shake ansi-terminal mtl
19     - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\home\ghc\tmp
20     - bash -lc "mv /home/ghc/tmp/* /home/ghc"
21     - cd C:\msys64\home\ghc
22     - stack exec -- perl boot
23     - bash -lc "cd /home/ghc; mkdir -p ghc-tarballs/mingw-w64/x86_64/"
24     - bash -lc "cd /home/ghc; mkdir -p ghc-tarballs/perl/"
25     - bash -lc "cd /home/ghc; exec 0</dev/null; ./configure --enable-tarballs-autodownload"
26     - ghc   --version
27     - stack --version
28     - alex  --version
29     - happy --version
30
31 build_script:
32     - cd C:\msys64\home\ghc\shake-build
33     - echo "" | stack --no-terminal exec -- build.bat -j --no-progress inplace/bin/ghc-stage1.exe