Skip to content

Commit

Permalink
wip new ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianAlgehed committed Mar 20, 2024
1 parent 65d29b0 commit 440f7e0
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/haskell-ci-new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Haskell-ci-new
on:
- push
- pull_request

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
linux:
name: Haskell-CI - Linux - ${{ matrix.compiler }}
runs-on: ubuntu-20.04
strategy:
matrix:
compiler: [ 7.0.4, 7.2.2, 7.4.1, 7.4.2, 7.6.3, 7.8.4,
7.10.3, 8.0.2, 8.4.1, 8.4.2, 8.4.3, 8.4.4,
8.6.1, 8.6.2, 8.6.3, 8.6.4, 8.6.5, 8.8.1,
8.8.2, 8.8.3, 8.8.4, 8.10.1, 8.10.2, 8.10.4
8.10.7, 9.0.1, 9.2.4, 9.6.1, 9.6.4 ]
steps:
- name: Get Haskell
id: haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.compiler }}
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/cache@v4
id: cache
with:
path: |
./dist-newstyle
${{ steps.haskell.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ matrix.compiler }}-
- name: Build
run: cabal build
- name: Test
run: cabal test

0 comments on commit 440f7e0

Please sign in to comment.