Skip to content

Commit 17ed657

Browse files
committed
add ci
1 parent 1284cc9 commit 17ed657

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/workflows/githubci.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Arduino Library CI
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
arduino-platform: ["cpb"]
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/setup-python@v1
16+
with:
17+
python-version: '3.x'
18+
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v2
20+
with:
21+
repository: adafruit/ci-arduino
22+
path: ci
23+
24+
- name: pre-install
25+
run: bash ci/actions_install.sh
26+
27+
- name: test platforms
28+
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
29+
30+
clang_and_doxy:
31+
runs-on: ubuntu-latest
32+
needs: build
33+
steps:
34+
- uses: actions/setup-python@v1
35+
with:
36+
python-version: '3.x'
37+
- uses: actions/checkout@v2
38+
39+
- uses: actions/checkout@v2
40+
with:
41+
repository: adafruit/ci-arduino
42+
path: ci
43+
44+
- name: pre-install
45+
run: bash ci/actions_install.sh
46+
47+
- name: clang
48+
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
49+
50+
- name: doxygen
51+
env:
52+
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
53+
PRETTYNAME : "Adafruit TinyUSB Library"
54+
run: bash ci/doxy_gen_and_deploy.sh

library.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ category=Communication
88
url=https://github.com/adafruit/Adafruit_TinyUSB_Arduino
99
architectures=*
1010
includes=Adafruit_TinyUSB.h
11+
depends=Adafruit SPIFlash, MIDI Library, Adafruit seesaw Library, Adafruit NeoPixel, SdFat - Adafruit Fork

0 commit comments

Comments
 (0)