From 240a7ecf865c203892dde045f109b2c720638ef1 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Fri, 11 Nov 2022 02:06:22 +0800 Subject: [PATCH] Fix lgtm C++ error (#13613) ### Description ### 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. image --- lgtm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgtm.yml b/lgtm.yml index b83900d856671..4839ecb9e220b 100644 --- a/lgtm.yml +++ b/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: