File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Compile Examples
2
+
3
+ # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4
+ on :
5
+ push :
6
+ paths :
7
+ - " .github/workflows/compile-examples.yml"
8
+ - " examples/**"
9
+ - " src/**"
10
+ pull_request :
11
+ paths :
12
+ - " .github/workflows/compile-examples.yml"
13
+ - " examples/**"
14
+ - " src/**"
15
+ schedule :
16
+ # Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
17
+ - cron : " 0 8 * * TUE"
18
+ workflow_dispatch :
19
+ repository_dispatch :
20
+
21
+ jobs :
22
+ build :
23
+ name : ${{ matrix.board.fqbn }}
24
+ runs-on : ubuntu-latest
25
+
26
+ strategy :
27
+ fail-fast : false
28
+
29
+ matrix :
30
+ board :
31
+ - fqbn : arduino:avr:uno
32
+ platforms : |
33
+ - name: arduino:avr
34
+ - fqbn : arduino:avr:mega
35
+ platforms : |
36
+ - name: arduino:avr
37
+ - fqbn : arduino:avr:leonardo
38
+ platforms : |
39
+ - name: arduino:avr
40
+ - fqbn : arduino:megaavr:uno2018
41
+ platforms : |
42
+ - name: arduino:megaavr
43
+ - fqbn : arduino:samd:arduino_zero_edbg
44
+ platforms : |
45
+ - name: arduino:samd
46
+
47
+ steps :
48
+ - name : Checkout repository
49
+ uses : actions/checkout@v2
50
+
51
+ - name : Compile examples
52
+ uses : arduino/compile-sketches@v1
53
+ with :
54
+ github-token : ${{ secrets.GITHUB_TOKEN }}
55
+ fqbn : ${{ matrix.board.fqbn }}
56
+ platforms : ${{ matrix.board.platforms }}
57
+ libraries : |
58
+ # Install the library from the local path.
59
+ - source-path: ./
60
+ - name: DHT sensor library
61
+ - name: Grove-3-Axis-Digital-Accelerometer-2g-to-16g-LIS3DHTR
62
+ - name: Grove - Barometer Sensor BMP280
63
+ - name: U8g2
64
+ sketch-paths : |
65
+ - examples
Original file line number Diff line number Diff line change 1
1
# Arduino Sensorkit Library
2
2
3
3
[ ![ Check Arduino status] ( https://github.com/arduino-libraries/Arduino_SensorKit/actions/workflows/check-arduino.yml/badge.svg )] ( https://github.com/arduino-libraries/Arduino_SensorKit/actions/workflows/check-arduino.yml )
4
+ [ ![ Compile Examples status] ( https://github.com/arduino-libraries/Arduino_SensorKit/actions/workflows/compile-examples.yml/badge.svg )] ( https://github.com/arduino-libraries/Arduino_SensorKit/actions/workflows/compile-examples.yml )
4
5
[ ![ Spell Check status] ( https://github.com/arduino-libraries/Arduino_SensorKit/actions/workflows/spell-check.yml/badge.svg )] ( https://github.com/arduino-libraries/Arduino_SensorKit/actions/workflows/spell-check.yml )
5
6
6
7
This documentation contains information about the classes and the usage of Arduino_SensorKit library which is primarily used in the [ Arduino Sensor Kit] ( https://store.arduino.cc/sensor-kit-base ) . This library is a wrapper for other libraries such as
You can’t perform that action at this time.
0 commit comments