Skip to content

Support GHC 9.8 and GHC 9.10 #482

Support GHC 9.8 and GHC 9.10

Support GHC 9.8 and GHC 9.10 #482

Workflow file for this run

name: CI
# Trigger the workflow on all pull requests and pushes/merges to master branch
on:
pull_request:
push:
branches: [master]
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
jobs:
cabal:
name: Cabal tests - ghc ${{ matrix.ghc }} / clash ${{ matrix.clash }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
clash:
- "1.8.2"
cabal:
- "3.10"
ghc:
- "9.0.2"
- "9.2.8"
- "9.4.8"
- "9.8.4"
- "9.10.1"
check_haddock: "no"

Check failure on line 32 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 32, Col: 24): Unexpected value 'no'
env:
check_haddock: ${{ matrix.check_haddock }}
clash_version: ${{ matrix.clash }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Haskell
uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- name: Use CI specific settings
run: |
.ci/apply_settings.sh
- name: Setup CI
run: |
cabal v2-freeze
mv cabal.project.freeze frozen
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-ghc-${{ matrix.ghc }}-${{ matrix.clash }}-${{ hashFiles('frozen') }}
restore-keys: |
${{ runner.os }}-ghc-${{ matrix.ghc }}-${{ matrix.clash }}-${{ hashFiles('frozen') }}
${{ runner.os }}-ghc-${{ matrix.ghc }}-${{ matrix.clash }}-
${{ runner.os }}-ghc-${{ matrix.ghc }}-
- name: Build
run: |
cabal build all --constraint=clash-prelude==$clash_version -fci
- name: Test
run: |
.ci/test_cabal.sh
- name: Documentation
if: ${{ matrix.check_haddock == 'yes' }}
run: |
.ci/build_docs.sh