Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Commit 4fd0d65

Browse files
per1234aentinger
authored andcommitted
Use GitHub Actions for Continuous Integration (#3)
Compile example sketches for SAMD boards. Spell check all files.
1 parent bf2c6cb commit 4fd0d65

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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:samd:mkr1000",
11+
"arduino:samd:mkrzero",
12+
"arduino:samd:mkrwifi1010",
13+
"arduino:samd:mkrfox1200",
14+
"arduino:samd:mkrwan1300",
15+
"arduino:samd:mkrwan1310",
16+
"arduino:samd:mkrgsm1400",
17+
"arduino:samd:mkrnb1500",
18+
"arduino:samd:mkrvidor4000",
19+
"arduino:samd:arduino_zero_edbg",
20+
"arduino:samd:nano_33_iot"
21+
]
22+
23+
steps:
24+
- uses: actions/checkout@v1
25+
with:
26+
fetch-depth: 1
27+
- uses: arduino/actions/libraries/compile-examples@master
28+
with:
29+
fqbn: ${{ matrix.fqbn }}

.github/workflows/spell-check.yml

+11
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

src/crc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* This file defines the functions crc_init(), crc_update() and crc_finalize().
1717
*
18-
* The crc_init() function returns the inital \c crc value and must be called
18+
* The crc_init() function returns the initial \c crc value and must be called
1919
* before the first call to crc_update().
2020
* Similarly, the crc_finalize() function must be called after the last call
2121
* to crc_update(), before the \c crc is being used.

0 commit comments

Comments
 (0)