aboutsummaryrefslogtreecommitdiff
path: root/.onedev-buildspec.yml
blob: b8dbdae8f5186bde112f48250529dfdb2fcc2815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
      - make dist
    useTTY: false
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  - !PublishArtifactStep
    name: Publish
    artifacts: dist/
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  triggers:
  - !TagCreateTrigger
    tags: release-v**-**-**
    branches: master
    projects: natix
  retryCondition: never
  maxRetries: 3
  retryDelay: 30
  timeout: 3600