forked from AJChapman/formatting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-ghcs
48 lines (35 loc) · 1.29 KB
/
test-ghcs
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
set -e
# Test GHC 8.8.4
stack clean
stack setup --resolver lts-16.17
stack build . --resolver lts-16.17 --test --ghc-options=-Werror --force-dirty --ghc-options=-fforce-recomp
# Test GHC 8.4.1
echo GHC 8.4.1 ...
stack clean
stack setup --resolver nightly-2018-03-20
stack build . --resolver nightly-2018-03-20 --test --ghc-options=-Werror --force-dirty
# Test GHC 8.2.2
echo GHC 8.2.2 ...
stack clean
stack setup --resolver lts-10.0
stack build . --resolver lts-10.0 --test --ghc-options=-Werror --force-dirty --ghc-options=-fforce-recomp
# Test GHC 8.0.2
echo GHC 8.0.2 ...
stack clean
stack setup --resolver lts-9.20
stack build . --resolver lts-9.20 --test --ghc-options=-Werror --force-dirty --ghc-options=-fforce-recomp
# Test GHC 8.0.1
echo GHC 8.0.1 ...
stack clean
stack setup --resolver nightly-2016-05-27
stack build --resolver nightly-2016-05-27 --test --ghc-options=-Werror --force-dirty --ghc-options=-fforce-recomp
# Test GHC 7.10.3
echo GHC 7.10.3 ...
stack clean
stack setup --resolver lts-4.1
stack build --resolver lts-4.1 --test --ghc-options=-Werror --force-dirty --ghc-options=-fforce-recomp
# Test GHC 7.10.2
echo GHC 7.10.2 ...
stack clean
stack setup --resolver lts-3.0
stack build --resolver lts-3.0 --test --ghc-options=-Werror --force-dirty --ghc-options=-fforce-recomp