Skip to content

bump version for release #35

bump version for release

bump version for release #35

Workflow file for this run

name: PlatformIO CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# Arduino32
# - examples/arduino32/colorTftEthernet32
# - examples/arduino32/dynamicMenuItems
# - examples/arduino32/nano33ble
# - examples/arduino32/picoAdafruitDashboard
# - examples/arduino32/picoAw9523LcdEncoder
# - examples/arduino32/piPicoTftTouch
# - examples/arduino32/stm32DuinoDemo
# MBED
# - examples/mbed/stm32EncoderLcdI2c
# - examples/mbed/stm32f429FrameBuffer
# - examples/mbed/stm32OledEncoder
# AVR
- example: examples/avr/adafruitST7735Mega
board: megaatmega2560
- example: examples/avr/analogDfRobot
board: megaatmega2560
- example: examples/avr/analogJoystick1306Ascii
board: megaatmega2560
- example: examples/avr/keyboardEthernetShield
board: megaatmega2560
- example: examples/avr/nokia5110
board: megaatmega2560
# ESP
- example: examples/esp/esp32Amplifier
board: esp32dev
- example: examples/esp/esp32s2Saola
board: esp32dev
- example: examples/esp/esp32s3TftEncoder
board: esp32dev
- example: examples/esp/esp32SimHub
board: esp32dev
- example: examples/esp/esp8266WifiOled
board: esp01_1m
- example: examples/esp/espCapTouchTft
board: [esp32dev, esp01_1m]
- example: examples/esp/simpleU8g2
board: [esp32dev, esp01_1m]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Set Board Environment Variables
run: |
if [ -n "${{ matrix.board }}" ] && [ "${{ matrix.board }}" != "null" ]; then
BOARD_ENVS=""
if [ "${{ matrix.board }}" = "Array" ]; then
# If matrix.board is an array
for board in $(echo '${{ toJSON(matrix.board) }}' | jq -r '.[]'); do
BOARD_ENVS="$BOARD_ENVS --environment $board"
done
else
# If matrix.board is a single value
BOARD_ENVS="--environment ${{ matrix.board }}"
fi
echo "BOARD_ENVS=$BOARD_ENVS" >> $GITHUB_ENV
fi
shell: bash
- name: Build PlatformIO examples
run: pio ci --lib "." --project-conf=platformio.ini $BOARD_ENVS
env:
PLATFORMIO_CI_SRC: ${{ matrix.example }}