[gssproxy] retry writing to /proc/net/rpc/use-gss-proxy #188
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: CI | |
on: [push, pull_request] | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
name: [ubuntu-clang, ubuntu-gcc] | |
include: | |
- name: ubuntu-clang | |
compiler: clang | |
cflags: -Wall -Wextra -Werror -Wno-cast-align -Wno-unused-parameter -Wno-missing-braces | |
- name: ubuntu-gcc | |
compiler: gcc | |
cflags: -Wall -Wextra -Werror -Wno-unused-parameter -Wno-format-truncation -Wno-restrict | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential autopoint clang gcc docbook-{xsl,xml} libxml2-utils xml-core xsltproc lib{krb5,ini-config,keyutils,popt,selinux1,systemd,verto}-dev lib{nss,socket}-wrapper python3{,-colorama} valgrind krb5-{kdc,admin-server,kdc-ldap} ldap-utils slapd apparmor-utils | |
- name: Silence AppArmor | |
run: sudo aa-complain $(which slapd) | |
- name: Setup | |
run: | | |
autoreconf -fiv | |
./configure | |
- name: Build and test | |
env: | |
CFLAGS: ${{ matrix.cflags }} | |
CC: ${{ matrix.compiler }} | |
run: make -s distcheck DISTCHECK_CONFIGURE_FLAGS="CFLAGS=\"$CFLAGS\" CC=\"$CC\"" |