Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
onon1101 committed Apr 21, 2024
1 parent 793758e commit b004a11
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- "src"
- "include"
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: "18"
check-path: ${{ matrix.path }}
fallback-style: "Mozilla" # optional
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ jobs:
deps_cmdline: brew install cmake ninja mesa-glu mesa xorg-server

steps:
# - if: matrix.config.os == 'windows-latest' && matrix.config.compiler == 'msvc'
# name: "Set Windows-MSVC-Compiler"
# uses: egor-tensin/vs-shell@v2

- if: matrix.config.os == 'windows-latest' && matrix.config.compiler == 'mingw'
name: "Set Windows-MinGW-Compiler"
uses: seanmiddleditch/gha-setup-ninja@master
Expand Down

0 comments on commit b004a11

Please sign in to comment.