26 lines
493 B
YAML
26 lines
493 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
audit:
|
|
runs-on: buildenv
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: hlint src lib tests
|
|
|
|
test:
|
|
runs-on: buildenv
|
|
steps:
|
|
- name: Set up environment
|
|
run: |
|
|
apt-get update -y
|
|
apt-get upgrade -y
|
|
apt-get install -y pkg-config liblzma-dev
|
|
- uses: actions/checkout@v4
|
|
- run: cabal update
|
|
- run: cabal test --test-show-details=streaming
|