Skip to content

Commit

Permalink
[ot] .github: use ot-format/ot-tidy
Browse files Browse the repository at this point in the history
Signed-off-by: Loïc Lefort <[email protected]>
  • Loading branch information
loiclefort authored and rivos-eblot committed Mar 1, 2024
1 parent a80390d commit 363414f
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ jobs:
uses: actions/checkout@v4
- name: Check execution
run: |
clang-format-16 -i \
hw/opentitan/*.c hw/opentitan/*.h include/hw/opentitan/*.h \
hw/riscv/ibex*.c include/hw/riscv/ibex*.h target/riscv/ibex*.c \
hw/riscv/ot_*.c include/hw/riscv/ot_*.h
scripts/opentitan/ot-format.sh --ci -i
lint-clang:
runs-on: ubuntu-latest
Expand All @@ -100,11 +97,7 @@ jobs:
- name: Clang tidy
# Expect many warnings/errors (accounted but not reported) from included QEMU files
run: |
clang-tidy -p build-clang \
hw/opentitan/*.c \
hw/riscv/ot_*.c \
hw/riscv/ibex*.c \
target/riscv/ibex_csr.c
scripts/opentitan/ot-tidy.sh --ci -p build-clang
test-clang:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 363414f

Please sign in to comment.