Skip to content

Build Debian package #241

Build Debian package

Build Debian package #241

# 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