Edit .onedev-buildspec.yml
This commit is contained in:
@@ -23,16 +23,6 @@ jobs:
|
|||||||
timeout: 14400
|
timeout: 14400
|
||||||
- name: Compile for Linux
|
- name: Compile for Linux
|
||||||
steps:
|
steps:
|
||||||
- type: SetupCacheStep
|
|
||||||
name: conan_cache
|
|
||||||
key: conan-cache
|
|
||||||
paths:
|
|
||||||
- /root/.conan2
|
|
||||||
uploadStrategy: UPLOAD_IF_NOT_HIT
|
|
||||||
changeDetectionExcludes: .onedev-buildspec.yml open_engine/** editor/**
|
|
||||||
uploadProjectPath: OpenEngine
|
|
||||||
condition: SUCCESSFUL
|
|
||||||
optional: true
|
|
||||||
- type: CheckoutStep
|
- type: CheckoutStep
|
||||||
name: Checkout
|
name: Checkout
|
||||||
cloneCredential:
|
cloneCredential:
|
||||||
@@ -52,6 +42,7 @@ jobs:
|
|||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
conan install . --output-folder=. --build=missing -s build_type=${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 -S . -G Ninja -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
||||||
|
echo ====== Building ===================================================
|
||||||
cmake --build . --config ${BUILD_TYPE}
|
cmake --build . --config ${BUILD_TYPE}
|
||||||
envVars:
|
envVars:
|
||||||
- name: BUILD_TYPE
|
- name: BUILD_TYPE
|
||||||
|
|||||||
Reference in New Issue
Block a user