Skip to content

Commit

Permalink
ci: add coverity
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 13, 2024
1 parent 97f0ee0 commit b2b0640
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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 }}

0 comments on commit b2b0640

Please sign in to comment.