6e214b2616
This adds capabilities for start-stop-daemon by adding --capabilities option. As a result, the user can specify the inheritable, ambient and bounding set by define capabilities in the service script. This fixes #314.
33 lines
694 B
YAML
33 lines
694 B
YAML
name: ci_ubuntu
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
gcc-glibc:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo apt-get update -q
|
|
- run: sudo apt-get install -q -y build-essential libpam-dev meson libcap-dev
|
|
- run: meson setup builddir/
|
|
env:
|
|
CC: gcc
|
|
- run: ninja -C builddir
|
|
env:
|
|
CC: gcc
|
|
|
|
|
|
clang-glibc:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo apt-get update -q
|
|
- run: sudo apt-get install -q -y build-essential clang libpam-dev meson libcap-dev
|
|
- run: meson setup builddir/
|
|
env:
|
|
CC: clang
|
|
- run: ninja -C builddir
|
|
env:
|
|
CC: clang
|