mirror of
https://github.com/sayo-hs/heftia.git
synced 2024-11-23 02:42:06 +03:00
[add] CI for GHC 9.4.1 and 9.6.6.
This commit is contained in:
parent
10a1aa78b3
commit
ea2e3a54ab
51
.github/workflows/haskell.yml
vendored
51
.github/workflows/haskell.yml
vendored
@ -10,33 +10,36 @@ permissions:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
ghc: ["9.4.1", "9.6.6", "9.8.3"]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-haskell@v1
|
||||
with:
|
||||
ghc-version: '9.8.2'
|
||||
cabal-version: '3.10'
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-haskell@v1
|
||||
with:
|
||||
ghc-version: ${{ matrix.ghc }}
|
||||
cabal-version: "3.10"
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-cabal
|
||||
with:
|
||||
path: ~/.cabal
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
- name: Cache
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-cabal
|
||||
with:
|
||||
path: ~/.cabal
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cabal update
|
||||
cabal build --only-dependencies --enable-tests --enable-benchmarks all
|
||||
- name: Build
|
||||
run: cabal build --enable-tests --enable-benchmarks all
|
||||
- name: Run tests
|
||||
run: cabal test all
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cabal update
|
||||
cabal build --only-dependencies --enable-tests --enable-benchmarks all
|
||||
- name: Build
|
||||
run: cabal build --enable-tests --enable-benchmarks all
|
||||
- name: Run tests
|
||||
run: cabal test all
|
||||
|
@ -155,7 +155,7 @@ to the header of your source file.
|
||||
Could not deduce ‘GHC.TypeNats.KnownNat (1 GHC.TypeNats.+ ...)’
|
||||
|
||||
The supported versions are GHC 9.4.1 and later.
|
||||
This library has been tested with GHC 9.8.2 and 9.4.1.
|
||||
This library has been tested with GHC 9.4.1, 9.6.6, and 9.8.3.
|
||||
|
||||
## Example
|
||||
|
||||
|
@ -29,7 +29,8 @@ extra-doc-files:
|
||||
README.md
|
||||
|
||||
tested-with:
|
||||
GHC == 9.8.2
|
||||
GHC == 9.8.3
|
||||
GHC == 9.6.6
|
||||
GHC == 9.4.1
|
||||
|
||||
source-repository head
|
||||
|
@ -47,7 +47,8 @@ extra-doc-files:
|
||||
README.md
|
||||
|
||||
tested-with:
|
||||
GHC == 9.8.2
|
||||
GHC == 9.8.3
|
||||
GHC == 9.6.6
|
||||
GHC == 9.4.1
|
||||
|
||||
source-repository head
|
||||
|
Loading…
Reference in New Issue
Block a user