Skip to content

fix missing include (#333) #1394

fix missing include (#333)

fix missing include (#333) #1394

Workflow file for this run

name: tidy
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: ubuntu install clang-tidy
run: |
sudo apt install clang-tidy-12
clang-tidy-12 --version
- name: set up python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: install python dependencies
run: pip install --upgrade pip conan==1.*
- name: checkout
uses: actions/checkout@v2
- name: cmake
run: |
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
- name: clang-tidy
run: |
FILES=$( find . -path ./build -prune -false -o -type f \( -iname \*.cpp \) )
clang-tidy-12 -p build -header-filter '.*' $FILES