Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#439] Support GHC-9.6 #445

Merged
merged 3 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 72 additions & 67 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
cabal: ["3.8"]
cabal: ['3.8']
ghc:
- "8.4.4"
- "8.6.5"
- "8.8.4"
- "8.10.7"
- "9.0.2"
- "9.2.7"
- "9.4.4"
- '8.4.4'
- '8.6.5'
- '8.8.4'
- '8.10.7'
- '9.0.2'
- '9.2.8'
- '9.4.7'
- '9.6.3'
exclude:
- os: macOS-latest
ghc: 9.2.7
ghc: 9.4.7
- os: macOS-latest
ghc: 9.2.8
- os: macOS-latest
ghc: 9.0.2
- os: macOS-latest
Expand All @@ -40,7 +43,9 @@ jobs:
ghc: 8.4.4

- os: windows-latest
ghc: 9.2.7
ghc: 9.4.7
- os: windows-latest
ghc: 9.2.8
- os: windows-latest
ghc: 9.0.2
- os: windows-latest
Expand All @@ -53,76 +58,76 @@ jobs:
ghc: 8.4.4

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- uses: haskell/actions/[email protected]
id: setup-haskell-cabal
name: Setup Haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- uses: haskell/actions/[email protected]
id: setup-haskell-cabal
name: Setup Haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}

- name: Configure
run: |
cabal configure --enable-tests --enable-benchmarks --enable-documentation --test-show-details=direct --write-ghc-environment-files=always
- name: Configure
run: |
cabal configure --enable-tests --enable-benchmarks --enable-documentation --test-show-details=direct --write-ghc-environment-files=always

- name: Freeze
run: |
cabal freeze
- name: Freeze
run: |
cabal freeze

- uses: actions/cache@v3
name: Cache ~/.cabal/store
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
- uses: actions/cache@v3
name: Cache ~/.cabal/store
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}

- name: Install dependencies
run: |
cabal build all --only-dependencies
- name: Install dependencies
run: |
cabal build all --only-dependencies

- name: Build
run: |
cabal build all
- name: Build
run: |
cabal build all

- name: Test
run: |
cabal test all
- name: Test
run: |
cabal test all

- name: Documentation
run: |
cabal haddock
- name: Documentation
run: |
cabal haddock

stack:
name: stack / ghc ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
stack: ["2.9"]
ghc: ["9.2.6"]
stack: ['2.9']
ghc: ['9.2.8']

steps:
- uses: actions/checkout@v3

- uses: haskell/actions/[email protected]
name: Setup Haskell Stack
with:
ghc-version: ${{ matrix.ghc }}
stack-version: ${{ matrix.stack }}

- uses: actions/cache@v3
name: Cache ~/.stack
with:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack

- name: Install dependencies
run: |
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --only-dependencies

- name: Build
run: |
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks

- name: Test
run: |
stack test --system-ghc
- uses: actions/checkout@v3

- uses: haskell/actions/[email protected]
name: Setup Haskell Stack
with:
ghc-version: ${{ matrix.ghc }}
stack-version: ${{ matrix.stack }}

- uses: actions/cache@v3
name: Cache ~/.stack
with:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack

- name: Install dependencies
run: |
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --only-dependencies

- name: Build
run: |
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks

- name: Test
run: |
stack test --system-ghc
Loading
Loading