Merge remote-tracking branch 'github/main' into prod #672
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: 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 |