Skip to content

Commit ceef55d

Browse files
rlehsalkinium
authored andcommitted
[CI] Always run all independent examples/checks
1 parent 073d510 commit ceef55d

File tree

1 file changed

+37
-3
lines changed

1 file changed

+37
-3
lines changed

.circleci/config.yml

+37-3
Original file line numberDiff line numberDiff line change
@@ -26,41 +26,50 @@ jobs:
2626
lbuild --version
2727
- run:
2828
name: Hosted Unittests
29+
when: always
2930
command: |
3031
(cd test && make run-hosted-linux)
3132
- run:
3233
name: Compile STM32 Unittests
34+
when: always
3335
command: |
3436
(cd test && make compile-nucleo-f411)
35-
(cd test && make compile-nucleo-f103)
3637
(cd test && make compile-nucleo-l432)
38+
(cd test && make compile-nucleo-f103)
3739
- run:
3840
name: Linux Examples
41+
when: always
3942
command: |
4043
(cd examples && ../tools/scripts/examples_compile.py linux)
4144
- run:
4245
name: Generic Examples
46+
when: always
4347
command: |
4448
(cd examples && ../tools/scripts/examples_compile.py generic)
4549
- run:
4650
name: Examples SAM Devices
51+
when: always
4752
command: |
4853
(cd examples && ../tools/scripts/examples_compile.py samd)
4954
- run:
5055
name: Execute Python Scripts
56+
when: always
5157
command: |
5258
python3 tools/scripts/authors.py --handles --count --shoutout --since 2017-01-01
5359
python3 tools/xpcc_generator/builder/system_layout.py examples/xpcc/xml/communication.xml -o /tmp
5460
- run:
5561
name: Check for Trailing Whitespace
62+
when: always
5663
command: |
5764
python3 tools/scripts/rm_whitespace.py
5865
- run:
5966
name: Synchronize Documentation
67+
when: always
6068
command: |
6169
python3 tools/scripts/synchronize_docs.py -d
6270
- run:
6371
name: Check for Unique Build Paths
72+
when: always
6473
command: |
6574
python3 tools/scripts/examples_check.py examples
6675
@@ -75,34 +84,42 @@ jobs:
7584
(git submodule sync && git submodule update --init --jobs 8) & pip3 install --upgrade --upgrade-strategy=eager modm & wait
7685
- run:
7786
name: Examples STM32F0 Series
87+
when: always
7888
command: |
7989
(cd examples && ../tools/scripts/examples_compile.py stm32f0_discovery stm32f072_discovery nucleo_f031k6 nucleo_f042k6 stm32f030f4p6_demo_board)
8090
- run:
8191
name: Examples STM32F1 Series
92+
when: always
8293
command: |
8394
(cd examples && ../tools/scripts/examples_compile.py stm32f1_discovery nucleo_f103rb olimexino_stm32 stm32f103c8t6_blue_pill stm32f103c8t6_black_pill)
8495
- run:
8596
name: Examples STM32F3 Series
97+
when: always
8698
command: |
8799
(cd examples && ../tools/scripts/examples_compile.py stm32f3_discovery nucleo_f303k8 nucleo_f303re)
88100
- run:
89101
name: Examples STM32F7 Series
102+
when: always
90103
command: |
91104
(cd examples && ../tools/scripts/examples_compile.py stm32f746g_discovery stm32f769i_discovery nucleo_f746zg)
92105
- run:
93106
name: Examples STM32G0 Series
107+
when: always
94108
command: |
95109
(cd examples && ../tools/scripts/examples_compile.py nucleo_g071rb)
96110
- run:
97111
name: Examples STM32L1 Series
112+
when: always
98113
command: |
99114
(cd examples && ../tools/scripts/examples_compile.py nucleo_l152re stm32l1_discovery)
100115
- run:
101116
name: Examples STM32L4 Series
117+
when: always
102118
command: |
103119
(cd examples && ../tools/scripts/examples_compile.py stm32l476_discovery nucleo_l476rg nucleo_l432kc)
104120
- run:
105121
name: Examples STM32G4 Series
122+
when: always
106123
command: |
107124
(cd examples && ../tools/scripts/examples_compile.py nucleo_g474re)
108125
@@ -116,9 +133,14 @@ jobs:
116133
command: |
117134
(git submodule sync && git submodule update --init --jobs 8) & pip3 install --upgrade --upgrade-strategy=eager modm & wait
118135
- run:
119-
name: Examples STM32F4 Series
136+
name: Examples STM32F4 Only Discovery Board
137+
when: always
120138
command: |
121139
(cd examples && ../tools/scripts/examples_compile.py stm32f4_discovery)
140+
- run:
141+
name: Examples STM32F4 Without Discovery Board
142+
when: always
143+
command: |
122144
(cd examples && ../tools/scripts/examples_compile.py stm32f429_discovery stm32f469_discovery nucleo_f401re nucleo_f411re nucleo_f429zi nucleo_f446re stm32f411ccu_mini_f401 stm32f411ceu_mini_f411 stm32f407vet6_devebox stm32_f4ve)
123145
124146
avr-examples:
@@ -137,14 +159,24 @@ jobs:
137159
avr-g++ --version
138160
- run:
139161
name: Examples AVR Series
162+
when: always
140163
command: |
141164
(cd examples && ../tools/scripts/examples_compile.py avr arduino_uno)
142165
- run:
143-
name: Compile AVR Unittests
166+
name: Compile AVR Unittests AT90CAN
167+
when: always
144168
command: |
145169
(cd test && make compile-al-avreb-can)
170+
- run:
171+
name: Compile AVR Unittests Arduino
172+
when: always
173+
command: |
146174
(cd test && make compile-arduino-uno)
147175
(cd test && make compile-arduino-nano)
176+
- run:
177+
name: Compile AVR Unittests ATmega
178+
when: always
179+
command: |
148180
(cd test && make compile-mega-2560-pro)
149181
150182
avr-compile-all:
@@ -362,12 +394,14 @@ jobs:
362394
(git submodule sync && git submodule update --init --jobs 8) & pip3 install -U lbuild & wait
363395
- run:
364396
name: Test run of docs.modm.io-generator-script
397+
when: always
365398
command: |
366399
export TERM=xterm-256color
367400
export COLUMNS=120
368401
python3 tools/scripts/docs_modm_io_generator.py -t -c -j4
369402
- run:
370403
name: Build Homepage
404+
when: always
371405
command: |
372406
python3 tools/scripts/synchronize_docs.py
373407
python3 tools/scripts/generate_module_docs.py

0 commit comments

Comments
 (0)