From 4ab05fa614cca31eeb5353f3c2554695f2fdb2e7 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Fri, 7 Jan 2022 02:48:19 +0500 Subject: [PATCH] CI: add daily Coverity scan job --- .github/workflows/coverity.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 0000000..43d5a55 --- /dev/null +++ b/.github/workflows/coverity.yml @@ -0,0 +1,28 @@ +name: Coverity + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + scan: + runs-on: ubuntu-20.04 + if: ${{ github.repository_owner == 'gost-engine' }} + env: + COVERITY_SCAN_PROJECT_NAME: 'gost-engine' + COVERITY_SCAN_BRANCH_PATTERN: '*' + COVERITY_SCAN_NOTIFICATION_EMAIL: 'chipitsine@gmail.com' + COVERITY_SCAN_BUILD_COMMAND_PREPEND: ".github/before_script.sh" + COVERITY_SCAN_BUILD_COMMAND: ".github/script.sh" + OPENSSL_BRANCH: openssl-3.0 + USE_RPATH: yes + + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Run Coverity Scan + env: + COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} + run: | + curl -fsSL "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true -- 2.39.5