aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.onedev-buildspec.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
new file mode 100644
index 0000000..8b10a16
--- /dev/null
+++ b/.onedev-buildspec.yml
@@ -0,0 +1,35 @@
+version: 19
+jobs:
+- name: Build
+ steps:
+ - !CheckoutStep
+ name: Checkout
+ cloneCredential: !DefaultCredential {}
+ withLfs: false
+ withSubmodules: false
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ - !CommandStep
+ name: Build
+ runInContainer: true
+ image: gcc
+ interpreter: !DefaultInterpreter
+ commands:
+ - make lib core smash
+ useTTY: false
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ - !PublishArtifactStep
+ name: Publish SLib
+ artifacts: /lib/slib.a
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ - !PublishArtifactStep
+ name: Publish Core
+ artifacts: core/objects
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ - !PublishArtifactStep
+ name: Publish Smash
+ artifacts: smash/smash
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ timeout: 3600