forked from kazu-yamamoto/dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
36 lines (30 loc) · 973 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
version: "{build}"
clone_folder: "c:\\dns"
environment:
global:
CABOPTS: "--store-dir=C:\\SR --http-transport=plain-http"
matrix:
- GHCVER: "8.4.4"
platform:
# - x86 # We may want to test x86 as well, but it would double the 23min build time.
- x64
cache:
- "C:\\SR"
install:
- "choco install -y cabal"
- "choco install -y ghc --version %GHCVER%"
- "refreshenv"
- "set PATH=C:\\msys64\\mingw64\\bin;C:\\msys64\\usr\\bin;C:\\ghc\\ghc-%GHCVER%\\bin;%PATH%"
- "cabal --version"
- "ghc --version"
- "cabal %CABOPTS% update -vverbose+nowrap"
- "cabal %CABOPTS% install hspec-discover"
- "cabal %CABOPTS% install cabal-doctest"
build: off
deploy: off
test_script:
- cabal %CABOPTS% new-build -j1 -vnormal+nowrap --dry all
- ps: Push-AppveyorArtifact dist-newstyle\cache\plan.json
- cabal %CABOPTS% new-build -j1 -vnormal+nowrap all
- cabal %CABOPTS% new-test -j1 -vnormal+nowrap all
- ps: ls dns*.log -recurse | %{ Push-AppveyorArtifact $_}