43 lines
1.0 KiB
YAML
43 lines
1.0 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: silkeh/clang
|
|
interpreter:
|
|
type: DefaultInterpreter
|
|
commands: |
|
|
conan install . --output-folder=build --build=missing -s build_type=Debug
|
|
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
|