Ilya Shipitsin | 64b6f36 | 2020-12-25 23:36:52 +0500 | [diff] [blame] | 1 | |
| 2 | # |
| 3 | # scan results: https://scan.coverity.com/projects/haproxy |
| 4 | # |
| 5 | |
| 6 | name: Coverity |
| 7 | |
| 8 | on: |
| 9 | schedule: |
| 10 | - cron: "0 0 * * *" |
| 11 | |
| 12 | jobs: |
| 13 | scan: |
| 14 | runs-on: ubuntu-latest |
| 15 | if: ${{ github.repository_owner == 'haproxy' }} |
| 16 | env: |
| 17 | COVERITY_SCAN_PROJECT_NAME: 'Haproxy' |
| 18 | COVERITY_SCAN_BRANCH_PATTERN: '*' |
| 19 | COVERITY_SCAN_NOTIFICATION_EMAIL: 'chipitsine@gmail.com' |
| 20 | COVERITY_SCAN_BUILD_COMMAND: "make CC=clang DEFINE=-DDEBUG_USE_ABORT TARGET=linux-glibc USE_ZLIB=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_LUA=1 USE_OPENSSL=1 USE_SYSTEMD=1 USE_WURFL=1 WURFL_INC=contrib/wurfl WURFL_LIB=contrib/wurfl USE_DEVICEATLAS=1 DEVICEATLAS_SRC=contrib/deviceatlas USE_51DEGREES=1 51DEGREES_SRC=contrib/51d/src/pattern DEBUG_STRICT=1" |
| 21 | steps: |
| 22 | - uses: actions/checkout@v2 |
| 23 | - name: Install apt dependencies |
| 24 | run: | |
| 25 | sudo apt-get update |
| 26 | sudo apt-get install -y \ |
| 27 | liblua5.3-dev \ |
| 28 | libsystemd-dev |
| 29 | - name: Run Coverity Scan |
| 30 | env: |
| 31 | COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} |
| 32 | run: | |
| 33 | make -C contrib/wurfl |
| 34 | curl -fsSL "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true |