Fix lgtm C++ error (#13613)
### Description <!-- Describe your changes. --> ### Motivation and Context Recently, every change in C/C++ code has the exception as below ``` [2022-11-10 04:36:05] [build-stderr] CMake Error at CMakeLists.txt:5 (cmake_minimum_required): [2022-11-10 04:36:05] [build-stderr] CMake 3.24 or higher is required. You are running version 3.23.1 ``` https://lgtm.com/projects/g/microsoft/onnxruntime/logs/rev/pr-9c39e0fe82768b017af09118af7344a9703317a5/lang:cpp/stage:Build%20merge_d70f6e7a151e1fea8003b81a4e6d6aa6a80a788d ### Verification We could see the test commit in my branch passed. Once the PR is merged, master build check would pass too. <img width="767" alt="image" src="https://user-images.githubusercontent.com/16190118/201086512-25ea69e7-6fe5-4939-b557-b3468428d363.png">
This commit is contained in:
Родитель
cd85a6333a
Коммит
240a7ecf86
2
lgtm.yml
2
lgtm.yml
|
@ -13,7 +13,7 @@ extraction:
|
|||
after_prepare:
|
||||
# Install cmake
|
||||
- mkdir custom_cmake
|
||||
- wget --quiet -O - "https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C custom_cmake
|
||||
- wget --quiet -O - "https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C custom_cmake
|
||||
- "export PATH=$(pwd)/custom_cmake/bin:${PATH}"
|
||||
index:
|
||||
build_command:
|
||||
|
|
Загрузка…
Ссылка в новой задаче