@@ -13,17 +13,19 @@ jobs:
13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- os : [ubuntu-latest]
17
- ghc : ['8.6', '8.8', '8.10', '9.0 ', '9.2 ', '9.4 ', '9.6 ', '9.8 ']
16
+ os : [ubuntu-latest, macOS-13, windows-latest ]
17
+ ghc : ['9.4 ', '9.6 ', '9.8 ', '9.10 ', '9.12 ']
18
18
include :
19
- - os : macos-13
20
- ghc : ' 9.4'
21
- - os : macos-13
22
- ghc : ' 9.6'
23
- - os : windows-latest
24
- ghc : ' 9.4'
25
- - os : windows-latest
26
- ghc : ' 9.6'
19
+ - os : ubuntu-latest
20
+ ghc : ' 8.6'
21
+ - os : ubuntu-latest
22
+ ghc : ' 8.8'
23
+ - os : ubuntu-latest
24
+ ghc : ' 8.10'
25
+ - os : ubuntu-latest
26
+ ghc : ' 9.0'
27
+ - os : ubuntu-latest
28
+ ghc : ' 9.2'
27
29
steps :
28
30
- uses : actions/checkout@v4
29
31
@@ -46,13 +48,15 @@ jobs:
46
48
cabal test --test-show-details=direct filepath-tests
47
49
cabal test --test-show-details=direct --test-options='--quickcheck-tests 50_000' filepath-equivalent-tests
48
50
cabal test --test-show-details=direct abstract-filepath
49
- cabal bench
50
51
cabal haddock
51
52
cabal check
52
53
cabal sdist
53
54
shell : bash
54
55
55
- - if : matrix.os == 'ubuntu-latest'
56
+ - if : runner.os == 'Linux'
57
+ run : cabal bench
58
+
59
+ - if : runner.os == 'Linux'
56
60
name : make all
57
61
run : |
58
62
set -eux
77
81
. ~/.ghcup/env
78
82
cabal update
79
83
cabal test
80
- cabal bench
81
84
82
85
# We use github.com/haskell self-hosted runners for ARM testing.
83
86
# If they become unavailable in future, put ['armv7', 'aarch64']
@@ -101,13 +104,13 @@ jobs:
101
104
uses : docker://hasufell/arm32v7-ubuntu-haskell:focal
102
105
name : Run build (arm32v7 linux)
103
106
with :
104
- args : sh -c "cabal update && ghcup install ghc --isolate=/usr --force 9.2.2 && cabal test -w ghc-9.2.2 && cabal bench -w ghc-9.2.2 "
107
+ args : sh -c "cabal update && ghcup install ghc --isolate=/usr --force 9.2.2 && cabal test -w ghc-9.2.2"
105
108
106
109
- if : matrix.arch == 'arm64v8'
107
110
uses : docker://hasufell/arm64v8-ubuntu-haskell:focal
108
111
name : Run build (arm64v8 linux)
109
112
with :
110
- args : sh -c "cabal update && ghcup install ghc --isolate=/usr --force 9.2.2 && cabal test -w ghc-9.2.2 && cabal bench -w ghc-9.2.2 "
113
+ args : sh -c "cabal update && ghcup install ghc --isolate=/usr --force 9.2.2 && cabal test -w ghc-9.2.2"
111
114
112
115
darwin_arm :
113
116
runs-on : ${{ matrix.os }}
0 commit comments