-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.drone.yml
45 lines (40 loc) · 970 Bytes
/
.drone.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
kind: pipeline
name: default
clone:
disable: true
workspace:
path: /app/src
volumes:
- name: cache
temp: {}
steps:
- name: clone
image: alpine/git
commands:
- git clone https://github.com/DangerousThings/flexsecure-applets .
- git -c submodule."smartcard-ci".update=none -c submodule."applets/apex-fido2".update=none -c submodule."applets/apex-tesla".update=none -c submodule."applets/apex-ndef".update=none -c submodule."applets/apex-spark".update=none submodule update --init --recursive
- name: build
image: stargate01/smartcard-ci
commands:
- /app/src/scripts/compile-all.sh
volumes:
- name: cache
path: /tmp
- name: test
image: stargate01/smartcard-ci
commands:
- /app/src/scripts/test-all.sh
volumes:
- name: cache
path: /tmp
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: github_api_key
files: /app/src/bin/*
when:
branch:
- master
event:
- tag