-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
63 lines (55 loc) · 1.24 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
clone_folder: "c:\\WORK"
clone_depth: 5
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
platform:
- x86_64
- x86
environment:
global:
CABOPTS: --http-transport=plain-http
CHOCOCMD: ghc --version %GHCVER%
matrix:
- GHCVER: 8.6.2
- GHCVER: 8.4.2
- GHCVER: 8.2.2
- GHCVER: 8.0.2
- GHCVER: 7.10.3.2
- GHCVER: 7.8.4.1
- GHCVER: 7.6.3.1
- GHCVER: head
matrix:
# set this flag to immediately finish build once one of the jobs fails.
fast_finish: true
exclude:
- platform: x86
GHCVER: head
for:
-
matrix:
only:
- platform: x86
environment:
global:
CHOCO_OPTS: --forcex86
-
matrix:
only:
- GHCVER: head
environment:
global:
GHC_OPTS: --pre
CHOCOCMD: ghc-head
install:
- choco source add -n mistuke -s https://www.myget.org/F/mistuke/api/v2
- choco install %CHOCOCMD% -y %GHC_OPTS% %CHOCO_OPTS% --ignore-dependencies
- choco install -y cabal %CHOCO_OPTS%
- refreshenv
before_build:
- cabal --version
- ghc --version
- cabal %CABOPTS% new-update
- IF EXIST configure.ac bash -c "autoreconf -i"
build_script:
- echo packages:. > cabal.project
- cabal %CABOPTS% new-build -j all