ci: add coverity #5
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 Scan | |
# We only want to test official release code, not every pull request. | |
on: [push, fork] | |
#branches: [master] | |
jobs: | |
coverity: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -q | |
sudo apt-get install -y autoconf automake build-essential po4a autopoint gcc-multilib doxygen | |
- name: Run autoreconf | |
run: | | |
./autogen.sh | |
- run: ./configure --disable-silent-rules | |
- uses: vapier/coverity-scan-action@v1 | |
with: | |
command: make -Oline -j$(getconf _NPROCESSORS_CONF) | |
email: ${{ secrets.COVERITY_SCAN_EMAIL }} | |
token: ${{ secrets.COVERITY_SCAN_TOKEN }} |