-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy path.drone.yml
45 lines (41 loc) · 977 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
steps:
- name: tests_compilation
image: rikorose/gcc-cmake
commands:
- cd test/build
- cmake ..
- make -j8
- name: run_tests
image: rikorose/gcc-cmake
commands:
- cd test/build
- ./supla_common_test --gtest_shuffle --gtest_repeat=20
depends_on:
- tests_compilation
# All targets compilation check
- name: boards_compilation_check
image: devel/esp8266
pull: never
commands:
- mkdir -p /CProjects
- ln -s /drone/src /CProjects/supla-espressif-esp
- ./test/check_compilation_of_all_targets.sh
- name: rocket
image: mike1pol/drone-rocket
depends_on: [run_tests, boards_compilation_check]
settings:
url:
from_secret: rocket_url
user_id:
from_secret: rocket_user_id
token:
from_secret: rocket_token
channel: github
avatar_url: "https://miro.medium.com/max/256/0*AqO_2lNemh_Fl9Gm.png"
when:
status: [success, failure]
event:
exclude:
- pull_request