Skip to content

Commit bee434e

Browse files
author
Mitsutoshi Aoe
committed
Enable AppVeyor build
1 parent 03778f3 commit bee434e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

appveyor.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
platform: x64
2+
shallow_clone: true
3+
environment:
4+
global:
5+
STACK_ROOT: "c:\\sr"
6+
cache:
7+
- "c:\\sr -> appveyor.yml"
8+
install:
9+
- set HOME=.
10+
- set "PATH=C:\msys64\usr\bin;%PATH%"
11+
- curl -ostack.zip -LsS --insecure https://www.stackage.org/stack/windows-x86_64
12+
- 7z x stack.zip stack.exe
13+
- stack setup > nul
14+
- stack exec -- pacman --noconfirm --needed -Sy bash pacman pacman-mirrors msys2-runtime msys2-runtime-devel
15+
- stack exec -- pacman --noconfirm -Syu
16+
- stack exec -- pacman --noconfirm -Syuu
17+
- stack exec -- pacman --noconfirm -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-gtk2
18+
build_script:
19+
- stack --no-terminal build --only-dependencies
20+
test_script:
21+
- stack --no-terminal build --ghc-options -Werror
22+
- stack sdist
23+
version: '{build}'

0 commit comments

Comments
 (0)