mirror of
https://github.com/ilyakooo0/reflex-vty.git
synced 2024-10-03 20:48:04 +03:00
Merge pull request #47 from reflex-frp/ci-newer-versions
CI newer versions
This commit is contained in:
commit
7bf77c6563
22
.github/workflows/haskell.yml
vendored
22
.github/workflows/haskell.yml
vendored
@ -1,33 +1,33 @@
|
||||
name: Haskell CI
|
||||
name: github-action
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
ghc: ['8.4.4', '8.6.5', '8.8.4']
|
||||
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.2']
|
||||
os: ['ubuntu-latest', 'macos-latest']
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-haskell@v1
|
||||
with:
|
||||
ghc-version: ${{ matrix.ghc }}
|
||||
cabal-version: '3.0'
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v1
|
||||
env:
|
||||
cache-name: cache-cabal
|
||||
with:
|
||||
path: ~/.cabal
|
||||
key: ${{ runner.os }}-1-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
|
||||
key: ${{ runner.os }}-${{ matrix.ghc }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-1-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-1-build-
|
||||
${{ runner.os }}-1-
|
||||
${{ runner.os }}-${{ matrix.ghc }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-${{ matrix.ghc }}-build-
|
||||
${{ runner.os }}-${{ matrix.ghc }}-
|
||||
${{ runner.os }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@ -37,3 +37,5 @@ jobs:
|
||||
run: cabal build --enable-tests --enable-benchmarks all
|
||||
- name: Run tests
|
||||
run: cabal test all
|
||||
- name: Build Docs
|
||||
run: cabal haddock
|
||||
|
@ -17,7 +17,12 @@ extra-source-files:
|
||||
README.md
|
||||
ChangeLog.md
|
||||
extra-doc-files: doc/tasks.png
|
||||
tested-with: GHC ==8.8.4 || ==8.6.5 || ==8.4.4
|
||||
tested-with:
|
||||
GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/reflex-frp/reflex-vty
|
||||
|
||||
library
|
||||
exposed-modules: Reflex.Vty
|
||||
@ -147,7 +152,3 @@ test-suite reflex-vty-test
|
||||
extra,
|
||||
hspec >= 2.7 && < 2.8
|
||||
default-language: Haskell2010
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/reflex-frp/reflex-vty
|
||||
|
Loading…
Reference in New Issue
Block a user