Skip to content

Add build of ABP example #83

Add build of ABP example

Add build of ABP example #83

name: PlatformIO CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: |
pip install --upgrade platformio
platformio platform install native
- name: Run unit test
run: platformio test -e native
- name: Build simple exemple
run: platformio ci --lib="." --board=ATmega328P --project-option="lib_deps=https://github.com/ngraziano/avr_stl.git" examples/simple
- name: Build simple sx1262 exemple
run: platformio ci --lib="." --board=ATmega328P --project-option="lib_deps=https://github.com/ngraziano/avr_stl.git" examples/simple_sx1262
- name: Build esp32 exemple
run: platformio ci --lib="." examples/esp32 --project-conf examples/esp32/platformio-ci.ini
- name: Build esp32 abp
run: platformio ci --lib="." examples/esp32-deepsleep-abp --project-conf examples/esp32-deepsleep-abp/platformio-ci.ini
# - name: Build rak811 exemple
# run: platformio ci --lib="." examples/rak811_gps --project-conf examples/rak811_gps/platformio-ci.ini