-
Notifications
You must be signed in to change notification settings - Fork 35
48 lines (48 loc) · 1.25 KB
/
device-controller.yaml
File metadata and controls
48 lines (48 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
name: Build, test, and release device_controller
on:
- push
- pull_request
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DoozyX/clang-format-lint-action@v0.17
with:
source: './'
extensions: 'c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx,ino'
clangFormatVersion: 17
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/arduino-lint-action@v1
with:
library-manager: update
compliance: strict
spelling:
name: Check Spelling
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Check Spelling
uses: codespell-project/actions-codespell@master
with:
check_filenames: true
arduino_ci:
runs-on: ubuntu-latest
needs: [lint, spelling]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
- name: Run Arduino-CI Tests
run: |
extras/scripts/install_libraries.sh
extras/scripts/testAndBuild.sh