Edit .onedev-buildspec.yml
This commit is contained in:
@@ -38,9 +38,11 @@ jobs:
|
||||
interpreter:
|
||||
type: DefaultInterpreter
|
||||
commands: |
|
||||
conan install . --output-folder=build --build=missing -s build_type=${BUILD_TYPE}
|
||||
cmake -S . -G Ninja -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake
|
||||
cmake --build build --config ${BUILD_TYPE}
|
||||
conan profile detect --force
|
||||
sed -i 's/cmake_minimum_required(VERSION 3.28)/cmake_minimum_required(VERSION 3.25)/' CMakeLists.txt
|
||||
conan install . --output-folder=. --build=missing -s build_type=${BUILD_TYPE}
|
||||
cmake -S . -G Ninja -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
||||
cmake --build . --config ${BUILD_TYPE}
|
||||
envVars:
|
||||
- name: BUILD_TYPE
|
||||
value: Debug
|
||||
|
||||
Reference in New Issue
Block a user