2.0.3 changelog update (#271) #12
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: Duo Unix CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
nix_ci: | |
name: Duo Unix - test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
cc: [gcc, clang] | |
steps: | |
- name: Install packages | |
run: sudo apt-get update && sudo apt-get install -y autoconf libtool libpam-dev libssl-dev automake python3 cppcheck | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Build | |
run: ./bootstrap && ./configure --with-pam --prefix=/usr && make CC=${{ matrix.cc }} | |
- name: Run tests | |
run: sudo make distcheck | |
- name: Static analysis | |
run: cppcheck --quiet --force -i tests --suppressions-list=.false_positive.txt --error-exitcode=1 . |