File tree Expand file tree Collapse file tree 3 files changed +54
-23
lines changed Expand file tree Collapse file tree 3 files changed +54
-23
lines changed Original file line number Diff line number Diff line change
1
+ name : Test PlatformIO support
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ strategy :
15
+ matrix :
16
+ example :
17
+ - examples/AnalogRead_DigitalRead/AnalogRead_DigitalRead.ino
18
+ - examples/ArrayQueue/ArrayQueue.ino
19
+ - examples/Assert/Assert.ino
20
+ - examples/Blink_AnalogRead/Blink_AnalogRead.ino
21
+ - examples/IntegerQueue/IntegerQueue.ino
22
+ - examples/Interrupts/Interrupts.ino
23
+ - examples/Mutex/Mutex.ino
24
+ - examples/Notifications/Notifications.ino
25
+ - examples/StructArray/StructArray.ino
26
+ - examples/StructQueue/StructQueue.ino
27
+ - examples/TaskStatus/TaskStatus.ino
28
+ - examples/TaskUtilities/TaskUtilities.ino
29
+
30
+ steps :
31
+ - name : Checkout
32
+ uses : actions/checkout@v3
33
+
34
+ - name : Cache
35
+ uses : actions/cache@v3
36
+ with :
37
+ path : |
38
+ ~/.cache/pip
39
+ ~/.platformio/.cache
40
+ key : ${{ runner.os }}-pio
41
+
42
+ - name : Install python
43
+ uses : actions/setup-python@v4
44
+ with :
45
+ python-version : ' 3.10'
46
+
47
+ - name : Install PlatformIO Core
48
+ run : pip install --upgrade platformio
49
+
50
+ - name : Build PlatformIO examples
51
+ run : pio ci --lib="." --board=uno --board=leonardo --board=sanguino_atmega1284p --board=megaatmega2560 ${{ matrix.example }}
Original file line number Diff line number Diff line change 1
1
# Ignore .development file, https://arduino.github.io/arduino-cli/library-specification/#development-flag-file
2
2
.development
3
+
4
+ # Ignore CLion IDE folder
5
+ .idea
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments