2019-12-27 17:10:08 -05:00
|
|
|
name: Arduino Library CI
|
|
|
|
|
2020-01-07 02:11:41 -05:00
|
|
|
on: [pull_request, push, repository_dispatch]
|
2019-12-27 17:10:08 -05:00
|
|
|
|
|
|
|
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: pre-install
|
|
|
|
run: bash ci/actions_install.sh
|
|
|
|
|
2020-05-17 16:38:02 -04:00
|
|
|
- name: extra libraries
|
|
|
|
run: |
|
|
|
|
git clone --quiet https://github.com/adafruit/Adafruit_ILI9341.git /home/runner/Arduino/libraries/Adafruit_ILI9341
|
|
|
|
|
2019-12-27 17:10:08 -05:00
|
|
|
- name: test platforms
|
|
|
|
run: python3 ci/build_platform.py main_platforms
|
|
|
|
|
|
|
|
- name: clang
|
|
|
|
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
|
|
|
|
|
|
|
|
- name: doxygen
|
|
|
|
env:
|
|
|
|
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
|
|
|
|
PRETTYNAME : "Adafruit GFX Library"
|
|
|
|
run: bash ci/doxy_gen_and_deploy.sh
|