Skip to content

Configure Mend Bolt for GitHub #13

Configure Mend Bolt for GitHub

Configure Mend Bolt for GitHub #13

Workflow file for this run

name: CodeChecker
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
codechecker:
runs-on: ubuntu-latest
steps:
- name: "Check out repository"
uses: actions/checkout@v4
# Prepare a build
- name: "Prepare build"
run: |
mkdir -pv Build
cd Build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
# Run the analysis
- uses: whisperity/codechecker-analysis-action@v1
id: codechecker
with:
logfile: ${{ github.workspace }}/Build/compile_commands.json
# Upload the results to the CI
- uses: actions/upload-artifact@v4
with:
name: "CodeChecker Bug Reports"
path: ${{ steps.codechecker.outputs.result-html-dir }}