Skip to content

Commit 17fe6fb

Browse files
sandeepmistrycmaglie
authored andcommitted
Add Github workflows for compiling examples and spell checking
1 parent d26c153 commit 17fe6fb

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Compile Examples
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
7+
strategy:
8+
matrix:
9+
fqbn: [
10+
"arduino:megaavr:uno2018:mode=on",
11+
"arduino:samd:nano_33_iot"
12+
]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
with:
17+
fetch-depth: 1
18+
- uses: arduino/actions/libraries/compile-examples@master
19+
with:
20+
fqbn: ${{ matrix.fqbn }}

.github/workflows/spell-check.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Spell Check
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
7+
steps:
8+
- uses: actions/checkout@v1
9+
with:
10+
fetch-depth: 1
11+
- uses: arduino/actions/libraries/spell-check@master

README.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
= LSM6DS3 Library for Arduino =
2+
image:https://github.com/arduino-libraries/Arduino_LSM6DS3/workflows/Compile%20Examples/badge.svg["Compile Examples Status", link="https://github.com/arduino-libraries/Arduino_LSM6DS3/actions?workflow=Compile+Examples"] image:https://github.com/arduino-libraries/Arduino_LSM6DS3/workflows/Spell%20Check/badge.svg["Spell Check Status", link="https://github.com/arduino-libraries/Arduino_LSM6DS3/actions?workflow=Spell+Check"]
23

34
Allows you to read the accelerometer and gyroscope values from the LSM6DS3 IMU on your Arduino Nano 33 IoT or Arduino Uno WiFi Rev2 boards.
45

0 commit comments

Comments
 (0)