From d50708499f1d71c3c8dbc5b028d9bc1aa103cfcc Mon Sep 17 00:00:00 2001 From: Marcin Zyla Date: Thu, 21 Dec 2023 17:56:49 +0100 Subject: [PATCH] test test test test test test test test test --- .github/workflows/main.yaml | 8 +++++++- Makefile | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a21ab9b..679d697 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -90,6 +90,10 @@ jobs: uses: docker://alpine with: args: /bin/sh -c "rm -rf /github/workspace/.* 2>/dev/null || rm -rf /github/workspace/*" + - name: Install deps + uses: docker://alpine + with: + args: /bin/sh -c "apk update && apk add clang17-extra-tools" - name: Login to the registry uses: docker/login-action@v1 with: @@ -102,7 +106,9 @@ jobs: # the checkstyle script needs a bit of git history fetch-depth: 2 - name: Check the code style - run: make checkstyle + uses: docker://alpine + run: | + make checkstyle integration: runs-on: ["self-hosted", "hugepages"] diff --git a/Makefile b/Makefile index b916d3b..29ce6aa 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,8 @@ version: fi checkstyle: - find . -name "*.c" -or -name "*.h" | xargs clang-format-11 -n --Werror + # find . -name "*.c" -or -name "*.h" | xargs clang-format-11 -n --Werror + find . -name "*.c" -or -name "*.h" | xargs /usr/bin/clang-format -n --Werror ci-build: version hack/ci-build.sh