Edit .onedev-buildspec.yml
This commit is contained in:
@@ -23,16 +23,6 @@ jobs:
|
||||
timeout: 14400
|
||||
- name: Compile for Linux
|
||||
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
|
||||
name: Checkout
|
||||
cloneCredential:
|
||||
@@ -52,6 +42,7 @@ jobs:
|
||||
git submodule update --init --recursive
|
||||
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
|
||||
echo ====== Building ===================================================
|
||||
cmake --build . --config ${BUILD_TYPE}
|
||||
envVars:
|
||||
- name: BUILD_TYPE
|
||||
|
||||
Reference in New Issue
Block a user