This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
Update README.md #64
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: Coverity | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Coverity Scan | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Update APT repo | |
run: sudo apt update | |
- name: Install build dependencies | |
uses: mstksg/get-package@v1 | |
with: | |
apt-get: libpam-dev | |
- name: Cache Gnulib | |
id: cache-gnulib | |
uses: actions/[email protected] | |
with: | |
path: gnulib | |
key: ${{ runner.os }}-gnulib | |
- name: Gnulib | |
if: steps.cache-gnulib.outputs.cache-hit != 'true' | |
run: git clone https://git.savannah.gnu.org/git/gnulib.git | |
- name: Run configure | |
run: | | |
./gnulib/gnulib-tool --makefile-name=Makefile.gnulib --libtool --import fcntl crypto/md5 array-list list xlist getrandom realloc-posix explicit_bzero xalloc | |
autoreconf -f -i -v && ./configure | |
- name: Coverity Scan | |
uses: vapier/coverity-scan-action@v0 | |
with: | |
project: kravietz/pam_tacplus | |
token: ${{ secrets.COVERITY_TOKEN }} | |
email: [email protected] | |
build_language: cxx | |
build_platform: linux64 | |
command: make clean all | |
version: ${{ github.sha }} | |
description: coverity-scan-action ${{ github.repository }} / ${{ github.ref }} |