This file contains hidden or 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
on: | |
pull_request: | |
jobs: | |
build: | |
name: static analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out repository" | |
uses: actions/checkout@v2 | |
- name: "Install dependencies" | |
run: sudo apt-get install tcl tcl-dev openssl libssl-dev | |
- name: "configure" | |
env: | |
CC: clang | |
run: ./configure | |
- name: "make config" | |
run: make config | |
- uses: whisperity/codechecker-analysis-action@v1 | |
id: codechecker | |
with: | |
build-command: "cd ${{ github.workspace }} && make" | |
# Upload the results to the CI. | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: "CodeChecker Bug Reports" | |
path: ${{ steps.codechecker.outputs.result-html-dir }} |