Skip to content

ladislas/feature/ci functional system refactor #5790

ladislas/feature/ci functional system refactor

ladislas/feature/ci functional system refactor #5790

# Leka - LekaOS
# Copyright 2021 APF France handicap
# SPDX-License-Identifier: Apache-2.0
name: Code Analysis - Clang-Tidy
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run:
runs-on: ubuntu-22.04
steps:
#
# Mark: - Setup
#
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup CI
uses: ./.github/actions/setup
#
# Mark: - Config
#
- name: Generate compile_commands.json
run: |
make config_tools
make config_tools_build
#
# Mark: - Analyze
#
- name: Run clang-tidy
run: |
make clang_tidy_diff