Edit .onedev-buildspec.yml
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
key: conan-cache
|
key: conan-cache
|
||||||
paths:
|
paths:
|
||||||
- /root/.conan2
|
- /root/.conan2
|
||||||
uploadStrategy: UPLOAD_IF_CHANGED
|
uploadStrategy: UPLOAD_IF_NOT_HIT
|
||||||
changeDetectionExcludes: .onedev-buildspec.yml open_engine/** editor/**
|
changeDetectionExcludes: .onedev-buildspec.yml open_engine/** editor/**
|
||||||
uploadProjectPath: OpenEngine
|
uploadProjectPath: OpenEngine
|
||||||
condition: SUCCESSFUL
|
condition: SUCCESSFUL
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
type: DefaultInterpreter
|
type: DefaultInterpreter
|
||||||
commands: |
|
commands: |
|
||||||
conan profile detect --force
|
conan profile detect --force
|
||||||
sed -i 's/cmake_minimum_required(VERSION 3.28)/cmake_minimum_required(VERSION 3.25)/' CMakeLists.txt
|
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
|
||||||
cmake --build . --config ${BUILD_TYPE}
|
cmake --build . --config ${BUILD_TYPE}
|
||||||
|
|||||||
Reference in New Issue
Block a user