Merge pull request #169 from brentru/fix-for-esp32-backwards-compat #155
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Arduino Library CI | |
on: [pull_request, push] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
arduino-platform: ["esp8266", "esp32", | |
"pyportal", "metro_m4_airliftlite"] | |
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 | |
# manually install WiFi and HTTPClient | |
- name: extra libraries | |
run: | | |
git clone --quiet https://github.com/adafruit/WiFiNINA.git /home/runner/Arduino/libraries/WiFiNINA | |
rm -rf /home/runner/Arduino/libraries/ArduinoHttpClient | |
git clone --quiet https://github.com/arduino-libraries/ArduinoHttpClient.git /home/runner/Arduino/libraries/ArduinoHttpClient | |
- name: test platforms | |
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }} | |
- 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 IO Arduino Library" | |
run: bash ci/doxy_gen_and_deploy.sh src |