github: workflows: add matrix to build on most apt-based distros #10
Workflow file for this run
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
name: Build Debian Package | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: ['ubuntu:22.04', 'ubuntu:20.04', 'debian:stable', 'debian:testing', 'debian:unstable'] | |
arch: ['amd64', 'arm64', 'armhf'] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build Debian Package | |
uses: leonheldattoradex/build-deb-action@v1.7.1 | |
env: | |
DEB_BUILD_OPTIONS: noautodbgsym | |
with: | |
buildpackage-opts: --build=binary --no-sign | |
host-arch: ${{ matrix.arch }} | |
apt-opts: --install-recommends | |
extra-build-deps: ca-certificates | |
docker-image: ${{ matrix.os }} |