Skip to content

Commit dc22975

Browse files
committed
Improve CI
1 parent d931855 commit dc22975

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/test.yaml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
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']
1818
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'
2729
steps:
2830
- uses: actions/checkout@v4
2931

@@ -77,7 +79,6 @@ jobs:
7779
. ~/.ghcup/env
7880
cabal update
7981
cabal test
80-
cabal bench
8182
8283
# We use github.com/haskell self-hosted runners for ARM testing.
8384
# If they become unavailable in future, put ['armv7', 'aarch64']
@@ -101,13 +102,13 @@ jobs:
101102
uses: docker://hasufell/arm32v7-ubuntu-haskell:focal
102103
name: Run build (arm32v7 linux)
103104
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"
105+
args: sh -c "cabal update && ghcup install ghc --isolate=/usr --force 9.2.2 && cabal test -w ghc-9.2.2"
105106

106107
- if: matrix.arch == 'arm64v8'
107108
uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
108109
name: Run build (arm64v8 linux)
109110
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"
111+
args: sh -c "cabal update && ghcup install ghc --isolate=/usr --force 9.2.2 && cabal test -w ghc-9.2.2"
111112

112113
darwin_arm:
113114
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)