Skip to content

Commit 05d76f6

Browse files
author
ladyada
committed
draft
1 parent 6ea9c44 commit 05d76f6

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/githubci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Arduino Library CI
2+
3+
on: [pull_request, push, repository_dispatch]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
arduino-platform: ["uno", "cpx_ada", "pyportal"]
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 .

0 commit comments

Comments
 (0)