summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-03-31 10:38:17 +0200
committerGitHub <noreply@github.com>2022-03-31 10:38:17 +0200
commit98bb861553e797a3f91c199fa3b1a143bd73f33b (patch)
treeffe2936989c22640752de3b1cdf99e10ce82b2de /.github
parenta37f65471c2b69fa588cbf8e9794ff1fe6d04605 (diff)
parent6fc4b6c133e9bc7b7dc060b61be98d88bf578032 (diff)
Merge pull request #61 from jow-/debian
Debian package build
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/debian.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml
new file mode 100644
index 0000000..db132fd
--- /dev/null
+++ b/.github/workflows/debian.yml
@@ -0,0 +1,31 @@
+name: Build .deb package
+
+on:
+ push: {}
+ tags:
+ - 'v*.*.*'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ path: ucode/
+
+ - name: Install dependencies
+ run: |
+ sudo apt update
+ sudo apt install devscripts build-essential lintian libjson-c-dev debhelper-compat debhelper
+
+ - name: Build package
+ run: |
+ cd ucode/
+ touch ucc utpl
+ dpkg-buildpackage -b -us -uc
+
+ - name: Archive code coverage results
+ uses: actions/upload-artifact@v3
+ with:
+ name: deb
+ path: '*ucode*.deb'