Skip to content

Commit

Permalink
CI: add bounds checking job
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Jun 11, 2024
1 parent 3c20909 commit 26170e2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/bounds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: win-mac-ci
on:
- push
- pull_request

defaults:
run:
shell: bash

jobs:
bounds-checking:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: 'latest'
- name: Update cabal package database
run: cabal update
- uses: actions/cache@v3
name: Cache cabal stuff
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-latest
- name: Test
run: cabal test --ghc-options='-fcheck-prim-bounds -fno-ignore-asserts'

0 comments on commit 26170e2

Please sign in to comment.