Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
andarut committed Aug 27, 2024
1 parent a6b6d89 commit da0b040
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ env:
kphp_build_dir: /home/kitten/kphp/build

jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install clang-format
run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
apt-get update && apt-get install clang-format-18
- name: debug
run: which clang-format-18
- name: Run clang-format
run: find ./runtime-light/ -iname '*.h' -o -iname '*.cpp' | xargs clang-format-18 --dry-run -Werror
build-linux:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit da0b040

Please sign in to comment.