-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
44 lines (34 loc) · 1020 Bytes
/
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
image:
- Visual Studio 2019
cache:
- "c:\\Users\\appveyor\\AppData\\Local\\Programs\\stack"
- "c:\\Users\\appveyor\\AppData\\Roaming\\stack"
skip_commits:
files:
- .github/workflows/*
- '**/*.md'
- '**/*.pmd'
- .gitignore
- cabal.project.*
- LICENSE
environment:
matrix:
- lts: lts-11
- lts: lts-14
matrix:
fast_finish: false
before_build:
- choco install haskell-stack
- choco install make
- choco install gnuwin32-coreutils.install --version 5.3.0
- stack build --stack-yaml=stack-%lts%.yaml --test --dry-run --dependencies-only
- stack build --stack-yaml=stack-%lts%.yaml --test --no-run-tests --fast --dependencies-only
# high cache compression
- ps: $env:APPVEYOR_CACHE_ENTRY_ZIP_ARGS = "-t7z -m0=lzma -mx=9"
build_script:
- stack build --stack-yaml=stack-%lts%.yaml --fast
test_script:
- stack build --stack-yaml=stack-%lts%.yaml --fast --test
- "python --version"
- docker version
- make PLATFORM=Windows HUP_STACK_YAML=stack-%lts%.yaml clean docker-test