coverity.yml 912 B

1234567891011121314151617181920212223242526272829
  1. name: Coverity Scan
  2. on:
  3. push:
  4. branches: [ "github" ]
  5. schedule:
  6. - cron: '19 8 * * 5'
  7. jobs:
  8. coverity:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v3
  12. - name: Install dependencies
  13. run: |
  14. sudo apt-get update
  15. sudo add-apt-repository --yes ppa:mhier/libboost-latest
  16. sudo apt-get install --yes build-essential git meson ninja-build cmake libboost1.81-dev libboost-log1.81-dev libyaml-cpp-dev libpcap-dev libtins-dev googletest
  17. git clone https://github.com/LaKabane/libtuntap.git /tmp/libtuntap/
  18. cd /tmp/
  19. cmake -DCMAKE_BUILD_TYPE=Release -B build -S "libtuntap"
  20. cmake --build build
  21. sudo cmake --install build --prefix /usr
  22. - uses: vapier/coverity-scan-action@v1
  23. with:
  24. project: 'crazytrace'
  25. email: ${{ secrets.COVERITY_SCAN_EMAIL }}
  26. token: ${{ secrets.COVERITY_SCAN_TOKEN }}