-
-
Notifications
You must be signed in to change notification settings - Fork 82
34 lines (29 loc) · 958 Bytes
/
debian.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Debian packages
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Configure working directory as git safe.directory
run: |
git config --global --add safe.directory /__w/minisatip/minisatip
- name: Install build dependencies
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential dpkg-dev libdvbcsa-dev libssl-dev debhelper-compat vdr-dev
- name: Build Debian package
run: |
mkdir -p build
rsync -a --exclude=build . build
cd build
./debian/gen_changelog unstable $(git describe --tags | sed 's/v//') $(git rev-parse --short HEAD) > debian/changelog
dpkg-buildpackage -b -us -uc
- name: Archive the built package
uses: actions/upload-artifact@v3
with:
name: minisatip-deb
path: '*.deb'