From 363414feff6a4f21a6cb510c6b05c9d0fa720988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Lefort?= Date: Fri, 1 Mar 2024 11:49:20 +0100 Subject: [PATCH] [ot] .github: use ot-format/ot-tidy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Loïc Lefort --- .github/workflows/build_test.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index b43e3cb0fd2d..6ec103bb713e 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -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 @@ -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