- Add MIT LICENSE for 2024 Adafruit Industries - Add library.properties with proper metadata and dependencies - Add .clang-format with Google-based C++ formatting rules - Add GitHub Actions workflow for CI/CD with Arduino builds and Doxygen - Add Adafruit Community Code of Conduct - Remove datasheet PDF and text files (not committed to repos) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
760 B
YAML
32 lines
760 B
YAML
name: Arduino Library CI
|
|
|
|
on: [pull_request, push, repository_dispatch]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.x'
|
|
- uses: actions/checkout@v4
|
|
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/*" -r .
|
|
|
|
- name: test platforms
|
|
run: python3 ci/build_platform.py main_platforms
|
|
|
|
- name: doxy
|
|
env:
|
|
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
|
|
PRETTYNAME : "Adafruit STHS34PF80 Arduino Library"
|
|
run: bash ci/doxy_gen_and_deploy.sh
|