slackbuilder/.gitea/workflows/build.yml
Eugen Wissner e0ca80db32
All checks were successful
Build / audit (push) Successful in 6s
Build / test (push) Successful in 15m27s
Switch to buildenv for test builds
2024-08-09 10:04:40 +02:00

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