mirror of
https://github.com/Mesabloo/diagnose.git
synced 2024-10-26 19:29:32 +03:00
Add Github CI build matrix
This commit is contained in:
parent
a8a610a741
commit
25ea730303
28
.github/workflows/ci.yaml
vendored
Normal file
28
.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
ghc: ['9.0.2']
|
||||
cabal: ['3.6']
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||
name: Haskell GHC ${{ matrix.ghc }} ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Haskell
|
||||
uses: haskell/actions/setup@v2
|
||||
with:
|
||||
ghc-version: ${{ matrix.ghc }}
|
||||
cabal-version: ${{ matrix.cabal }}
|
||||
- run: |
|
||||
cabal test
|
Loading…
Reference in New Issue
Block a user