Skip to content

Share struct headers between GLSL and C++ #202

Share struct headers between GLSL and C++

Share struct headers between GLSL and C++ #202

Workflow file for this run

name: clang-format
on:
pull_request:
jobs:
clang-format:
name: clang-format
strategy:
fail-fast: true
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get clang-format 15
run: sudo apt update && sudo apt install clang-format-15
- name: Run clang-format
run: >
clang-format-15
-Werror
--dry-run
src/*.cpp
src/**/*.cpp
src/*.hpp
src/**/*.hpp
res/shader/*.*
res/shader/**/*.comp
res/shader/**/*.frag
res/shader/**/*.mesh
res/shader/**/*.rahit
res/shader/**/*.rchit
res/shader/**/*.rgen
res/shader/**/*.rmiss
res/shader/**/*.vert
res/shader/**/*.glsl
res/shader/**/*.h
res/shader/**/*.hpp
res/shader/**/*.h