slackbuilder/.gitea/workflows/build.yml

26 lines
493 B
YAML
Raw Normal View History

2023-12-09 20:23:30 +01:00
name: Build
on:
push:
pull_request:
branches: [master]
jobs:
audit:
2024-08-09 10:02:38 +02:00
runs-on: buildenv
2023-12-09 20:23:30 +01:00
steps:
- uses: actions/checkout@v4
2024-08-09 10:02:38 +02:00
- run: hlint src lib tests
2023-12-09 20:23:30 +01:00
test:
2024-08-09 10:02:38 +02:00
runs-on: buildenv
2023-12-09 20:23:30 +01:00
steps:
- name: Set up environment
run: |
2024-03-06 13:40:36 +01:00
apt-get update -y
apt-get upgrade -y
2024-08-09 10:02:38 +02:00
apt-get install -y pkg-config liblzma-dev
2023-12-09 20:23:30 +01:00
- uses: actions/checkout@v4
2024-08-09 10:02:38 +02:00
- run: cabal update
2024-03-06 13:40:36 +01:00
- run: cabal test --test-show-details=streaming