meson: prevent use of suid fallback without explicit consent #497
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 | |
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 | |