aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2025-07-18 15:38:15 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2025-07-18 15:38:15 +0200
commit5a88a00a0db1400cff1641ba6aa800d7e8c6d8a7 (patch)
tree15652d3adbc59927538c690e02d32b0e5cde6319 /.github/workflows/build.yml
parent44518ce94659a98527c606c5a3ddc52306f4105a (diff)
downloadwerge-5a88a00a0db1400cff1641ba6aa800d7e8c6d8a7.tar.gz
werge-5a88a00a0db1400cff1641ba6aa800d7e8c6d8a7.tar.bz2
autobuild on github
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..9c38d5e
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,24 @@
+
+name: build
+
+on:
+ push:
+ tags:
+ - 'v*'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ - uses: haskell-actions/setup@v2
+ with:
+ ghc-version: '9.4'
+ - run: |
+ cabal build
+ xz -9 < `cabal exec which werge` > werge-${{ github.ref_name }}-`uname -m`.xz
+ - uses: softprops/action-gh-release@v2
+ with:
+ files: werge-*.xz