Build Debian package #261
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | |
with: | |
name: "rnv_${{ github.sha }}_debian_package" | |
path: "packages/debian/rnv_*.*" | |
if-no-files-found: error |