From 5f3546bb88e503f3993aee57d17304f373d3f7fd Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 13 Apr 2024 20:10:37 +0100 Subject: [PATCH] ci: add coverity Signed-off-by: Sam James --- .github/workflows/coverity.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/coverity.yml diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml new file mode 100644 index 000000000..032688a51 --- /dev/null +++ b/.github/workflows/coverity.yml @@ -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: | + apt-get update -q + 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 }}