Skip to content

Add bytesN

Add bytesN #17

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: [
# "8.6.5", "8.8.4", # dependency issues
"8.10.7", "9.0.2", "9.2.4", "9.4.2", "latest"
]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
env:
CONFIG: "--enable-tests"
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "latest"
- run: cabal v2-update
- run: cabal v2-freeze $CONFIG
- uses: actions/cache@v3
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
restore-keys: |
${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
${{ runner.os }}-${{ matrix.ghc }}-
- run: cabal v2-build --disable-optimization -j $CONFIG
- run: cabal v2-test --disable-optimization -j $CONFIG
- run: cabal v2-haddock -j $CONFIG
- run: cabal v2-sdist