From: Jérémie Astor Date: Sun, 16 Feb 2020 20:48:28 +0000 (+0100) Subject: :wrench: [coverity] X-Git-Tag: nightly~1901 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=e3bbbb87ab3adfa61526dfbb49036063fbf04b35;p=gwion.git :wrench: [coverity] --- diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 9f70d6ec..4fc4a4fb 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -13,10 +13,29 @@ jobs: if: "contains(github.event.head_commit.message, '[coverity]')" steps: - - uses: actions/checkout@v1 - - name: submodules + - name: Checkout + uses: actions/checkout@v1 + + - name: Init submodules run: git submodule update --init util ast - - name: download coverity tool - run: curl https://scan.coverity.com/download/cxx/linux64 - - name: make + + - name: Download tool + run: | + wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "${{ token=secrets.COVERITY_TOKEN }}&project=fennecdjay/Gwion" -O cov-analysis-linux64.tar.gz + mkdir cov-analysis-linux64 + tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64 + + - name: Build run: cov-build --dir cov-int make + + - name: Submit + run: | + tar czvf gwion.tgz cov-int + curl \ + --form project=dennecdjay/Gwion \ + --form token=${{ secrets.COVERITY_TOKEN }} \ + --form email=astor.jeremie@wanadoo.fr \ + --form file=@gwion.tgz \ + --form version=trunk \ + --form description="`./ruby -v`" \ + https://scan.coverity.com/builds?project=fennecdjay/Gwion