File tree Expand file tree Collapse file tree 1 file changed +37
-7
lines changed Expand file tree Collapse file tree 1 file changed +37
-7
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
version : 2
6
6
jobs :
7
- build :
7
+ prepare :
8
8
docker :
9
9
- image : mbedos/mbed-os-env:stable
10
10
working_directory : ~
@@ -18,10 +18,40 @@ jobs:
18
18
- run :
19
19
working_directory : mbed-os-example-ble
20
20
command : for i in BLE_* ; do cd $i ; ln -s $PWD/../mbed-os mbed-os ; ln -s $PWD/../BUILD BUILD ; cd .. ; done
21
- - run :
22
- working_directory : mbed-os-example-ble
23
- command : for i in BLE_* ; do cd $i ; mbed update ; mbed compile -t GCC_ARM -m NRF52840_DK || break ; cd .. ; done
24
- - run :
25
- working_directory : mbed-os-example-ble
26
- command : for i in BLE_* ; do cd $i ; mbed update ; mbed compile -t GCC_ARM -m DISCO_L475VG_IOT01A || break ; cd .. ; done
21
+ - persist_to_workspace :
22
+ root : /root/project
23
+ paths : mbed-os-example-ble
24
+
25
+ build_nrf52840 :
26
+ docker :
27
+ - image : mbedos/mbed-os-env:stable
28
+ working_directory : ~
29
+ steps :
30
+ - attach_workspace :
31
+ at : /root/project
32
+ - run : |
33
+ cd mbed-os-example-ble
34
+ for i in BLE_* ; do cd $i ; mbed update ; mbed compile -t GCC_ARM -m NRF52840_DK || break ; cd .. ; done
35
+
36
+ build_disco_l475vg :
37
+ docker :
38
+ - image : mbedos/mbed-os-env:stable
39
+ working_directory : ~
40
+ steps :
41
+ - attach_workspace :
42
+ at : /root/project
43
+ - run : |
44
+ cd mbed-os-example-ble
45
+ for i in BLE_* ; do cd $i ; mbed update ; mbed compile -t GCC_ARM -m DISCO_L475VG_IOT01A || break ; cd .. ; done
27
46
47
+ workflows :
48
+ version : 2
49
+ workflow :
50
+ jobs :
51
+ - prepare
52
+ - build_nrf52840 :
53
+ requires :
54
+ - prepare
55
+ - build_disco_l475vg :
56
+ requires :
57
+ - prepare
You can’t perform that action at this time.
0 commit comments