Skip to content

Commit

Permalink
llvm 19
Browse files Browse the repository at this point in the history
  • Loading branch information
qdrvm-ci committed Aug 21, 2024
1 parent 92c45e0 commit 2f76d6f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ jobs:
- name: "Build target"
working-directory: ./housekeeping/docker/kagome-dev
run: make kagome_dev_docker_build_tidy \
run:
make kagome_dev_docker_build_tidy \
DOCKER_REGISTRY_PATH=${DOCKER_REGISTRY_PATH} \
GITHUB_HUNTER_USERNAME=${{ secrets.HUNTER_USERNAME }} \
GITHUB_HUNTER_TOKEN=${{ secrets.HUNTER_TOKEN }}
Expand Down
6 changes: 5 additions & 1 deletion housekeeping/clang-tidy-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@

BUILD_DIR="${BUILD_DIR:-build}"
CLANG_TIDY_BIN="${CLANG_TIDY_BIN:-clang-tidy}"
CI="${CI:-false}"

if [[ "${CI}" == "true" ]]; then
git fetch origin master
fi

cd $(dirname $0)/..
# exclude WAVM because on CI clang-tidy is run on a WasmEdge build
git fetch origin master
git diff -U0 origin/master -- . ':!core/runtime/wavm' | clang-tidy-diff.py -p1 -path ${BUILD_DIR} -iregex '(core|node)\/.*\.(h|c|hpp|cpp)' -clang-tidy-binary ${CLANG_TIDY_BIN} | tee clang-tidy.log
! grep ': error:' clang-tidy.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG RUST_VERSION
ARG ARCHITECTURE=x86_64

ARG DEBIAN_VERSION=bookworm
ARG LLVM_VERSION=18
ARG LLVM_VERSION=19

FROM ${BASE_IMAGE}

Expand Down

0 comments on commit 2f76d6f

Please sign in to comment.