-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.drone.yml
47 lines (39 loc) · 868 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
46
47
kind: pipeline
type: docker
name: Test
platform:
os: linux
arch: amd64
steps:
- name: Fix drone limitation
image: drone/git
commands:
- |
if [ "$(git symbolic-ref --short HEAD)" != "master" ]; then
git fetch origin master:master
fi
- git fetch --tags
- chown -R 1000:1000 .
- name: Analyse
image: voidbuffer/devtools:latest
commands:
- ./scripts/shellcheck.sh
- ./scripts/cppcheck.sh
- ./scripts/pmccabe.sh
failure: ignore
- name: Build posix
image: voidbuffer/devtools:latest
commands:
- make PORT_NAME=posix
- name: Build stm32f072rb
image: voidbuffer/devtools:latest
commands:
- make PORT_NAME=stm32f072rb
- name: Build tm4c123gh6pm
image: voidbuffer/devtools:latest
commands:
- make PORT_NAME=tm4c123gh6pm
- name: Docs
image: voidbuffer/devtools:latest
commands:
- ./scripts/doxygen.sh