Skip to content

Fix title hierarchy in README #21

Fix title hierarchy in README

Fix title hierarchy in README #21

name: Quality check
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
clang_format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RafikFarhad/clang-format-github-action@v4
with:
sources: "esp32-different-i2c-buses-example/*.ino"
style: file
build_sketch:
runs-on: ubuntu-latest
env:
CLI_PATH: ./cli
steps:
- name: checkout
uses: actions/checkout@v4
- name: install arduino-cli
run: |
mkdir -p $CLI_PATH
export PATH=$PATH:$CLI_PATH
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=$CLI_PATH sh
- name: build arduino r4 sketch
run: |
${CLI_PATH}/arduino-cli compile --profile arduino-uno-r4 ./exampleArduinoUnoR4
- name: build ESP32 DevKit sketch
run: |
${CLI_PATH}/arduino-cli compile --profile esp32-devkitC-v4 ./exampleESP32DevKitCV4
- name: build Nucleo sketch
run: |
${CLI_PATH}/arduino-cli compile --profile stm32-nucleo64 ./exampleSTM32Nucleo64