Skip to content

Commit 2f5071f

Browse files
committed
ci: clang: Use LLVM_TOOLCHAIN_PATH instead of CLANG_ROOT_DIR
`CLANG_ROOT_DIR` is deprecated; use `LLVM_TOOLCHAIN_PATH` instead. Signed-off-by: Stephanos Ioannidis <[email protected]> (cherry picked from commit e43aebb)
1 parent 7eb2dc8 commit 2f5071f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/clang.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
platform: ["native_posix"]
2121
env:
2222
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.15.0
23-
CLANG_ROOT_DIR: /usr/lib/llvm-12
23+
LLVM_TOOLCHAIN_PATH: /usr/lib/llvm-12
2424
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
2525
BASE_REF: ${{ github.base_ref }}
2626
outputs:
@@ -67,7 +67,7 @@ jobs:
6767
- name: Check Environment
6868
run: |
6969
cmake --version
70-
${CLANG_ROOT_DIR}/bin/clang --version
70+
${LLVM_TOOLCHAIN_PATH}/bin/clang --version
7171
gcc --version
7272
ls -la
7373

0 commit comments

Comments
 (0)