Skip to content

Merge pull request #127 from mikegrudic/main #687

Merge pull request #127 from mikegrudic/main

Merge pull request #127 from mikegrudic/main #687

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
haskell:
name: stack build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v2
with:
ghc-version: '9.0.2'
enable-stack: true
- run: sudo apt-get install libhdf5-dev
- uses: actions/cache@v1
with:
path: ~/.stack
key: ${{ runner.os }}-stack-${{ hashFiles('flathub.cabal') }}-${{ hashFiles('stack.yaml') }}
restore-keys: |
${{ runner.os }}-stack-
${{ runner.os }}-
- run: stack build --system-ghc --extra-include-dirs=/usr/include/hdf5/serial --extra-lib-dirs=/usr/lib/x86_64-linux-gnu/hdf5/serial
web:
name: npm prod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: make -C web