Merge pull request #374 from Tarsnap/libcperciva-import #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: coverity-scan | |
# Only trigger on the [coverity-scan] branch. | |
on: | |
push: | |
branches: | |
- coverity-scan | |
# Run coverity scan. For now, we're re-using the Travis-CI script, which | |
# requires us to fake a TRAVIS_BRANCH environment variable. | |
jobs: | |
coverity-scan: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run autoreconf | |
run: autoreconf -i | |
- name: Configure with the default compiler | |
run: ./configure | |
- name: Coverity scan | |
env: | |
COVERITY_SCAN_PROJECT_NAME: ${{ github.repository }} | |
COVERITY_SCAN_BRANCH_PATTERN: coverity-scan | |
COVERITY_SCAN_NOTIFICATION_EMAIL: [email protected] | |
COVERITY_SCAN_BUILD_COMMAND: make all | |
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} | |
TRAVIS_BRANCH: coverity-scan | |
run: curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true |