From fad24d5f517d95afbe2936c98e8f87431f2760bc Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 17 Jan 2023 23:01:34 +0100 Subject: Add .onedev-buildspec.yml --- .onedev-buildspec.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .onedev-buildspec.yml 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 -- cgit v1.2.3-70-g09d2