-
Notifications
You must be signed in to change notification settings - Fork 32
36 lines (29 loc) · 1.12 KB
/
githubci.yml
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
name: Arduino Library CI
on: [pull_request, push, repository_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: adafruit/ci-arduino
path: ci
- name: Install the prerequisites
run: bash ci/actions_install.sh
- name: Check for correct code formatting with clang-format
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
# Temporarily disable the check on documentation, as it is currently not needed at this time.
# - name: Check for correct documentation with doxygen
# env:
# GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
# PRETTYNAME : "CRSF for Arduino"
# run: bash ci/doxy_gen_and_deploy.sh
# Temporarily disable testing on Metro M4, for now.
# For some reason, it is returning "No such file or directory" on CRSFforArduino.h
# Further investigation is needed.
# - name: Test the code on supported platforms
# run: python3 ci/build_platform.py metro_m4