forked from AccelerateHS/accelerate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
38 lines (29 loc) · 1.08 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
# vim: nospell
clone_folder: "c:\\accelerate"
skip_commits:
message: /\[ci skip\]/
environment:
global:
STACK_ROOT: "c:\\sr"
matrix:
- GHC: "8.8"
- GHC: "8.6"
- GHC: "8.4"
- GHC: "8.2"
before_build:
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
# install stack
- curl -sS -ostack.zip -L --insecure https://www.stackage.org/stack/windows-x86_64
- 7z x stack.zip stack.exe
- stack --version
- ln -s stack-%GHC%.yaml stack.yaml
- stack setup --no-terminal > NUL
- stack build --no-terminal --copy-bins --fast happy
- stack build --no-terminal --no-copy-bins --fast --jobs=1 --only-dependencies --test
build_script:
- stack build --no-terminal --no-copy-bins --fast --only-dependencies --test --no-run-tests --flag accelerate:nofib
test_script:
- stack test accelerate:doctest --flag accelerate:nofib
- stack test accelerate:nofib-interpreter --test-arguments="--hedgehog-tests 25" --flag accelerate:nofib