Files
OpenEngine/.onedev-buildspec.yml
2026-03-10 01:41:33 +01:00

44 lines
1.1 KiB
YAML

version: 46
jobs:
- name: Push to Gitea
steps:
- type: PushRepository
name: Push to Gitea
remoteUrl: https://gitea.anfer.fr/anfer/OpenEngine
passwordSecret: Gitea
force: false
condition: SUCCESSFUL
optional: false
triggers:
- type: BranchUpdateTrigger
branches: main
userMatch: anyone
projects: OpenEngine
- type: TagCreateTrigger
branches: main
projects: OpenEngine
retryCondition: never
maxRetries: 3
retryDelay: 30
timeout: 14400
- name: Compile for Linux
steps:
- type: CommandStep
name: Compile for Linux
runInContainer: true
image: erriss/erris-build_tools:V0.1
interpreter:
type: DefaultInterpreter
commands: |
conan install . --output-folder=build --build=missing -s build_type=Debug
ls
cmake -S . -G Ninja -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake
cmake --build build --config
useTTY: true
condition: SUCCESSFUL
optional: false
retryCondition: never
maxRetries: 3
retryDelay: 30
timeout: 14400