Skip to content

Commit 0aa327d

Browse files
authored
Update ccpp.yml
1 parent a875e40 commit 0aa327d

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

.github/workflows/ccpp.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,35 @@ jobs:
44
build:
55
name: Test compiling
66
runs-on: ubuntu-latest
7+
8+
strategy:
9+
matrix:
10+
arduino-boards-fqbn:
11+
- arduino:avr:uno
12+
- esp32:esp32:featheresp32:FlashFreq=80
13+
- STM32:stm32:GenF1:pnum=BLUEPILL_F103C8
14+
15+
include:
16+
- arduino-boards-fqbn: arduino:avr:uno
17+
sketches-exclude: bluepill_position_control, esp32_position_control, esp32_i2c_dual_bus_example, stm32_i2c_dual_bus_example, magnetic_sensor_spi_alt_example, osc_esp32_3pwm, osc_esp32_fullcontrol, nano33IoT_velocity_control, smartstepper_control
18+
19+
- arduino-boards-fqbn: TM32:stm32:GenF1:pnum=BLUEPILL_F103C8
20+
platform-url: https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
21+
sketch-names: bluepill_position_control, stm32_i2c_dual_bus_example, magnetic_sensor_spi_alt_example,
22+
23+
- arduino-boards-fqbn: esp32:esp32:featheresp32:FlashFreq=80
24+
platform-url: https://dl.espressif.com/dl/package_esp32_index.json
25+
sketch-names: esp32_position_control, esp32_i2c_dual_bus_example
26+
27+
# Do not cancel all jobs / architectures if one job fails
28+
fail-fast: false
729
steps:
830
- name: Checkout
931
uses: actions/checkout@master
1032
- name: Compile all examples
1133
uses: ArminJo/[email protected]
1234
with:
13-
libraries: PciManager
14-
examples-exclude: bluepill_position_control, esp32_position_control, esp32_i2c_dual_bus_example, stm32_i2c_dual_bus_example, magnetic_sensor_spi_alt_example, osc_esp32_3pwm, osc_esp32_fullcontrol, nano33IoT_velocity_control, smartstepper_control
35+
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
36+
required-libraries: PciManager
37+
platform-url: ${{ matrix.platform-url }}
38+
sketches-exclude: ${{ matrix.sketches-exclude }}

0 commit comments

Comments
 (0)