-
Notifications
You must be signed in to change notification settings - Fork 5
54 lines (48 loc) · 1.36 KB
/
debian_package.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright (C) 2022 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the BSD-3 license
name: Build Debian package
on:
pull_request:
push:
schedule:
- cron: '0 16 * * 5' # Every Friday 4pm
jobs:
debian_package:
name: Build Debian package
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install build dependencies
run: |-
set -x
sudo apt-get update
sudo apt-get install --no-install-recommends -V \
asciidoc \
autotools-dev \
build-essential \
debhelper \
devscripts \
docbook-xml \
docbook-xsl \
fakeroot \
libexpat1-dev \
libncurses5-dev \
libreadline-dev \
libscm-dev \
libx11-dev \
libxml2-utils \
xsltproc \
xz-utils \
zip
- name: Build Debian package
run: |-
set -x
./bootstrap
./configure
make deb
- name: Upload build artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: "rnv_${{ github.sha }}_debian_package"
path: "packages/debian/rnv_*.*"
if-no-files-found: error