Skip to content

Merge pull request #113 from pamapa/dependabot/npm_and_yarn/web/brace… #210

Merge pull request #113 from pamapa/dependabot/npm_and_yarn/web/brace…

Merge pull request #113 from pamapa/dependabot/npm_and_yarn/web/brace… #210

Workflow file for this run

name: Debian
on:
push:
branches:
- main
- 'releases/**'
tags:
- v*
pull_request:
branches:
- main
jobs:
build:
name: Build for ${{ matrix.arch }} / ${{ matrix.debian-version }}
# docker executor
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64]
debian-version: [bullseye]
container:
image: ${{ matrix.arch }}/debian:${{ matrix.debian-version }}-slim
env:
DEBIAN_FRONTEND: noninteractive
steps:
- uses: actions/checkout@v3
- name: Install build dependencies for Linux daemon 'callblockerd'
run: |
apt-get update
apt-get install --no-install-recommends -y \
debhelper build-essential \
dpkg-dev pkg-config \
ca-certificates wget \
ninja-build meson \
python3-pip python3-setuptools python3-wheel \
g++ gcc \
libjson-c-dev libphonenumber-dev uuid-dev libssl-dev
meson -v
- name: Install build dependencies for web-interface
run: |
wget -qO- https://deb.nodesource.com/setup_18.x | bash -
apt-get update
apt-get install --no-install-recommends -y \
nodejs
- name: Build package
run: |
dpkg-buildpackage -b -uc
mkdir -p artifacts
cp ../callblocker_* artifacts
- name: Archive Debian package artifacts
uses: actions/upload-artifact@v3
with:
name: debian_${{ matrix.debian-version }}
path: artifacts