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