Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
waddlaw committed Feb 14, 2021
1 parent 10cbad0 commit 7355085
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: ci

on:
push:
branches: [master]
pull_request:
branches: ['*']

jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
os: [ubuntu-18.04, macos-10.15]
ghc: ["8.6", "8,8", "8.10", "9.0"]
cabal: ["3.2"]

steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}

- name: Cache cabal stuff
uses: actions/cache@v2
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}

- run: cabal update

- name: Build & Test webauthn
run: |
cabal build
cabal test
cabal haddock

0 comments on commit 7355085

Please sign in to comment.