Skip to content

Commit

Permalink
support clang-format checking on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
guuzaa committed Mar 22, 2024
1 parent c79bc77 commit 7dbc9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
build-dir: build-gcc
- os: macos-latest
compiler: Clang
install: "brew install ninja"
install: "brew install ninja clang-format"
build-dir: build-clang
- os: windows-latest
compiler: MSVC
Expand All @@ -45,7 +45,7 @@ jobs:
run: |
cmake --build ${{ matrix.build-dir }} --target run-tests
- name: Check Format
if: runner.os == 'Linux'
if: runner.os != 'Windows'
run: |
cmake --build ${{ matrix.build-dir }} --target check-format
- name: Example
Expand Down

0 comments on commit 7dbc9f8

Please sign in to comment.