Skip to content

Makefile add Wno-declaration-after-statement #158

Makefile add Wno-declaration-after-statement

Makefile add Wno-declaration-after-statement #158

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
jobs:
code-check:
name: code style check
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Check code style
shell: bash
run: |
set -e
sudo apt-get install -y clang-format-14
find ./tools/ ./include/ ./driver/ -name "*.c" ! -name "*.mod.c" -o -name "*.h" | xargs clang-format -n --Werror
echo "Code style check passed"