Edit .onedev-buildspec.yml
This commit is contained in:
@@ -38,7 +38,12 @@ jobs:
|
||||
interpreter:
|
||||
type: DefaultInterpreter
|
||||
commands: |
|
||||
source .envrc
|
||||
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}
|
||||
envVars:
|
||||
- name: BUILD_TYPE
|
||||
value: Debug
|
||||
useTTY: true
|
||||
condition: SUCCESSFUL
|
||||
optional: false
|
||||
|
||||
Reference in New Issue
Block a user