Skip to content

Build architecture-specific packages #32

Build architecture-specific packages

Build architecture-specific packages #32

Workflow file for this run

---
name: Build package
on:
push:
branches: ['*']
pull_request:
branches: ['*']
workflow_dispatch:
jobs:
test-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
arches:
- amd64
- i386
- arm64
- armhf
steps:
- uses: actions/checkout@v3
- name: ShellCheck
uses: ludeeus/action-shellcheck@2.0.0
env:
SHELLCHECK_OPTS: -e SC1091
- name: Build Debian ${{ matrix.arches }} package
uses: jtdor/build-deb-action@v1
with:
buildpackage-opts: --no-sign --check-command=lintian
extra-build-deps: lintian
host-arch: ${{ matrix.arches }}
upload:
runs-on: ubuntu-latest
needs: test-and-build
steps:
- name: Upload debian package as artifact
uses: actions/upload-artifact@v3
with:
name: deb
path: debian/artifacts