Edit .onedev-buildspec.yml

This commit is contained in:
erris
2026-03-10 02:19:15 +01:00
parent c5d650cf6b
commit 378d4c58a9

View File

@@ -38,9 +38,11 @@ jobs:
interpreter: interpreter:
type: DefaultInterpreter type: DefaultInterpreter
commands: | commands: |
conan install . --output-folder=build --build=missing -s build_type=${BUILD_TYPE} conan profile detect --force
cmake -S . -G Ninja -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake sed -i 's/cmake_minimum_required(VERSION 3.28)/cmake_minimum_required(VERSION 3.25)/' CMakeLists.txt
cmake --build build --config ${BUILD_TYPE} 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: envVars:
- name: BUILD_TYPE - name: BUILD_TYPE
value: Debug value: Debug