mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
### 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">
25 lines
772 B
YAML
25 lines
772 B
YAML
path_classifiers:
|
|
library:
|
|
- exclude: cmake
|
|
|
|
queries:
|
|
- include: "*"
|
|
|
|
extraction:
|
|
cpp:
|
|
prepare:
|
|
packages:
|
|
- ninja-build
|
|
after_prepare:
|
|
# Install cmake
|
|
- mkdir 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:
|
|
- ./build.sh --cmake_generator Ninja --config Debug --skip_submodule_sync --build_shared_lib --parallel --skip_tests --minimal_build --disable_exceptions --enable_training_ops
|
|
csharp:
|
|
index:
|
|
solution: ["csharp/OnnxRuntime.CSharp.sln"]
|
|
buildless: true
|
|
nuget_restore: true
|