Skip to content

Merge pull request #114 from pamapa/dependabot/npm_and_yarn/web/webpa… #158

Merge pull request #114 from pamapa/dependabot/npm_and_yarn/web/webpa…

Merge pull request #114 from pamapa/dependabot/npm_and_yarn/web/webpa… #158

Workflow file for this run

name: Ubuntu
on:
push:
branches:
- main
- 'releases/**'
tags:
- v*
pull_request:
branches:
- main
jobs:
build:
name: Build for ${{ matrix.arch }} / ${{ matrix.ubuntu-version }}
# docker executor
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64]
ubuntu-version: [20.04]
container:
image: ${{ matrix.arch }}/ubuntu:${{ matrix.ubuntu-version }}
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_16.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 Ubuntu package artifacts
uses: actions/upload-artifact@v3
with:
name: ubuntu_${{ matrix.ubuntu-version }}
path: artifacts