capable: fix error-proneness of make_capable and privilege leak #606
Workflow file for this run
This file contains hidden or 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 | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| container: ${{ matrix.image }} | |
| strategy: | |
| # this lets us run the job against all images to completion | |
| fail-fast: false | |
| matrix: | |
| image: | |
| - snaipe/ci-meson:gcc-debian-10 | |
| - snaipe/ci-meson:gcc-alpine-3.10 | |
| - snaipe/ci-meson:gcc-fedora-31 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 1 | |
| - name: make | |
| run: | | |
| set -xeu | |
| command -v apk && apk add --no-cache linux-headers scdoc | |
| command -v apt && apt-get update && apt-get install -y scdoc | |
| command -v dnf && dnf install -y glibc-static scdoc | |
| CPPFLAGS='-Wconversion -pedantic-errors' meson build -Dsuid-fallback=true | |
| ninja -C build | |