Skip to content

Fix missing dependency when using as library project #91

Fix missing dependency when using as library project

Fix missing dependency when using as library project #91

name: clang-format check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: true
- name: Prepare build environment
run: |
sudo apt update
sudo apt-get install ninja-build
pip install cmakelang
- name: Configure CMake
run: cmake --preset=release
- name: Check C++ Formatting
run: cmake --build build --target check-clang-format
- name: Check CMake Formatting
run: cmake --build build --target check-cmake-format