Skip to content

wip: first test of CodeChecker Workflow #1

wip: first test of CodeChecker Workflow

wip: first test of CodeChecker Workflow #1

Workflow file for this run

name: CodeChecker
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
codechecker-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bazelbuild/setup-bazelisk@v3
- name: Mount bazel cache
uses: actions/cache@v4
with:
path: "~/.cache/bazel"
key: bazel
- name: build & retreive compile_commands.json
run: |
bazelisk clean
bazelisk build //...
bazelisk run //:refresh_compile_commands
- uses: whisperity/codechecker-analysis-action@v1
id: codechecker
with:
logfile: ${{ github.workspace }}/compile_commands.json
- uses: actions/upload-artifact@v2
with:
name: "CodeChecker Bug Reports"
path: ${{ steps.codechecker.outputs.result-html-dir }}