Skip to content

Commit a31bf53

Browse files
committed
Merge branch 'ci7'
2 parents d931855 + 6b97e75 commit a31bf53

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

.github/workflows/test.yaml

+18-15
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

@@ -46,13 +48,15 @@ jobs:
4648
cabal test --test-show-details=direct filepath-tests
4749
cabal test --test-show-details=direct --test-options='--quickcheck-tests 50_000' filepath-equivalent-tests
4850
cabal test --test-show-details=direct abstract-filepath
49-
cabal bench
5051
cabal haddock
5152
cabal check
5253
cabal sdist
5354
shell: bash
5455

55-
- if: matrix.os == 'ubuntu-latest'
56+
- if: runner.os == 'Linux'
57+
run: cabal bench
58+
59+
- if: runner.os == 'Linux'
5660
name: make all
5761
run: |
5862
set -eux
@@ -77,7 +81,6 @@ jobs:
7781
. ~/.ghcup/env
7882
cabal update
7983
cabal test
80-
cabal bench
8184
8285
# We use github.com/haskell self-hosted runners for ARM testing.
8386
# If they become unavailable in future, put ['armv7', 'aarch64']
@@ -101,13 +104,13 @@ jobs:
101104
uses: docker://hasufell/arm32v7-ubuntu-haskell:focal
102105
name: Run build (arm32v7 linux)
103106
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"
105108

106109
- if: matrix.arch == 'arm64v8'
107110
uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
108111
name: Run build (arm64v8 linux)
109112
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"
111114

112115
darwin_arm:
113116
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)