Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Language: Cpp
BasedOnStyle: Google
IndentWidth: 2
ColumnLimit: 80
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Attach
DerivePointerAlignment: false
PointerAlignment: Left
SpacesBeforeTrailingComments: 1
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Arduino Library CI
#
# Copyright 2026 Adafruit Industries (Limor 'ladyada' Fried with assistance
# from Claude Code)
#
# MIT License

name: Arduino Library CI

on: [pull_request, push, repository_dispatch]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: adafruit/ci-arduino
path: ci

- name: pre-install
run: bash ci/actions_install.sh

- name: clang
run: >-
python3 ci/run-clang-format.py -e "ci/*" -e "bin/*"
-e "*/tmf8828.c" -e "*/tmf8828.h"
-e "*/tmf8828_image.*" -e "*/tmf8828_calib.*"
-e "*/tmf882x_image.*" -e "*/tmf882x_calib.*"
-r .

- name: test platforms
run: python3 ci/build_platform.py esp32 feather_m4_express pico_rp2040 feather_rp2350 feather_esp32s3

- name: doxygen
env:
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
PRETTYNAME: "Adafruit TMF8828 Library"
PRESERVE_FOLDERS: "webserial"
run: bash ci/doxy_gen_and_deploy.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
output.txt
Loading
Loading