summaryrefslogtreecommitdiff
path: root/.gitea
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-08-09 22:32:52 +0300
committerEugen Wissner <belka@caraus.de>2025-08-09 22:50:57 +0300
commitef2d02d88d9da297cb253d0b7fbb4828232bd717 (patch)
tree10450cb3a466addc2468fa63b73dcb7720834171 /.gitea
parent6becdeb53ed0bbad77cddeab73d08a1210d195ac (diff)
downloadfountainhead-ef2d02d88d9da297cb253d0b7fbb4828232bd717.tar.gz
Add build workflowci
Diffstat (limited to '.gitea')
-rw-r--r--.gitea/workflows/build.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml
new file mode 100644
index 0000000..fb3e8a6
--- /dev/null
+++ b/.gitea/workflows/build.yml
@@ -0,0 +1,28 @@
+name: Build
+
+on:
+ push:
+ pull_request:
+ branches: [master]
+
+jobs:
+ audit:
+ runs-on: buildenv
+ steps:
+ - uses: actions/checkout@v4
+ - run: hlint src lib test
+
+ test:
+ runs-on: buildenv
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v4
+ - run: cabal update
+ - run: cabal test --test-show-details=streaming
+
+ release:
+ runs-on: buildenv
+ steps:
+ - uses: actions/checkout@v4
+ - run: cabal update
+ - run: cabal build