Add Nix build GitHub workflow #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and test on debian | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
ghc: ['9.6', '9.4', '9.2', '9.0'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: haskell-actions/setup@v2 | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
cabal-version: '3.0.0.0' # Exact version of Cabal - | |
- name: install hdf5 | |
run: sudo apt-get install -y libhdf5-dev libffi-dev | |
- name: build and test with cabal | |
run: cabal test |