diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-03-31 10:38:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 10:38:17 +0200 |
commit | 98bb861553e797a3f91c199fa3b1a143bd73f33b (patch) | |
tree | ffe2936989c22640752de3b1cdf99e10ce82b2de /.github | |
parent | a37f65471c2b69fa588cbf8e9794ff1fe6d04605 (diff) | |
parent | 6fc4b6c133e9bc7b7dc060b61be98d88bf578032 (diff) |
Merge pull request #61 from jow-/debian
Debian package build
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/debian.yml | 31 |
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' |