coverity-scan-fixes.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. name: Coverity Scan master branch
  2. on:
  3. workflow_dispatch:
  4. schedule:
  5. - cron: '0 0 * * 1-5'
  6. - cron: '0 0 * * 0'
  7. - cron: '0 12 * * 0'
  8. jobs:
  9. coverity:
  10. if: github.repository_owner == 'wolfssl'
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v4
  14. with:
  15. ref: master
  16. - name: Configure wolfSSL with enable-all M-F
  17. if: github.event.schedule == '0 0 * * 1-5'
  18. run: |
  19. ./autogen.sh
  20. ./configure --enable-all
  21. - name: Configure wolfSSL with enable-all enable-smallstack Sun at 00:00
  22. if: github.event.schedule == '0 0 * * 0'
  23. run: |
  24. ./autogen.sh
  25. ./configure --enable-all --enable-smallstack
  26. - name: Configure wolfSSL with bigendian Sun at 12:00
  27. if: github.event.schedule == '0 12 * * 0'
  28. run: |
  29. ./autogen.sh
  30. ./configure --enable-all CFLAGS="-DBIG_ENDIAN_ORDER"
  31. - name: Check secrets
  32. env:
  33. token_var: ${{ secrets.COVERITY_SCAN_TOKEN }}
  34. email_var: ${{ secrets.COVERITY_SCAN_EMAIL }}
  35. run: |
  36. token_len=${#token_var}
  37. echo "$token_len"
  38. email_len=${#email_var}
  39. echo "$email_len"
  40. - uses: vapier/coverity-scan-action@v1
  41. with:
  42. build_language: 'cxx'
  43. project: "wolfSSL/wolfssl"
  44. token: ${{ secrets.COVERITY_SCAN_TOKEN }}
  45. email: ${{ secrets.COVERITY_SCAN_EMAIL }}
  46. command: "make"