Skip to content

Add NormalizeQuaternion method to quaternion_operations.hpp and use t… #503

Add NormalizeQuaternion method to quaternion_operations.hpp and use t…

Add NormalizeQuaternion method to quaternion_operations.hpp and use t… #503

Workflow file for this run

name: OpenTurbine-CI
on: push
jobs:
clang-format:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run clang-format
run: |
clang-format --version
find . -regex '.*\.\(cpp\|hpp\|c\|h\)' -exec clang-format-18 -i {} \;
- name: Check for formatting changes
run: |
if [[ `git status --porcelain` ]]; then
echo "Code is not formatted. Please run clang-format."
git diff
exit 1
else
echo "Code is properly formatted."
fi