This commit is contained in:
parent
3bbc508b8f
commit
f18d2c501c
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -5,8 +5,22 @@ jobs:
|
|||
Build-NUT-ARM64:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- run: apt-get update
|
||||
- run: apt-get install -yqq build-essential asciidoc debhelper dh-python docbook-xml libavahi-client-dev libavahi-core-dev libfreeipmi-dev libgd-dev libi2c-dev libipmimonitoring-dev libmodbus-dev libneon27-dev libnss3-dev libpowerman0-dev libsnmp-dev libusb-1.0-0-dev libwrap0-dev libxml2-utils xsltproc asciidoc-dblatex dblatex docbook-xsl
|
||||
- name: Install build dependencies
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
packages: build-essential asciidoc debhelper dh-python docbook-xml libavahi-client-dev libavahi-core-dev libfreeipmi-dev libgd-dev libi2c-dev libipmimonitoring-dev libmodbus-dev libneon27-dev libnss3-dev libpowerman0-dev libsnmp-dev libusb-1.0-0-dev libwrap0-dev libxml2-utils xsltproc asciidoc-dblatex dblatex docbook-xsl
|
||||
version: 1.0
|
||||
|
||||
- name: Restore cached repo
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: repo/
|
||||
key: ${{ runner.arch }}-build
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: dpkg-buildpackage -b -us -uc
|
||||
with:
|
||||
path: repo/
|
||||
|
||||
- name: Build the DEB packages
|
||||
run: dpkg-buildpackage -b -us -uc
|
||||
|
|
Loading…
Reference in New Issue
Block a user