Skip to content

Sync new boards and Arduino-Pico version 5.5.1 #308

Sync new boards and Arduino-Pico version 5.5.1

Sync new boards and Arduino-Pico version 5.5.1 #308

Workflow file for this run

name: Examples
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
example:
- "examples/arduino-blink"
- "examples/arduino-pioasm-blink"
- "examples/arduino-ethernet-ota"
- "examples/arduino-external-libs"
- "examples/arduino-littlefs"
- "examples/arduino-ota"
- "examples/arduino-signed-ota"
- "examples/arduino-wifi-scan"
- "examples/picosdk-blink"
- "examples/picosdk-pioasm-blink"
- "examples/picosdk-pioasm-blink-auto"
- "examples/mbed-ce-hello-world"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Enable Long Paths
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
git config --system core.longpaths true
fi
shell: bash
- name: Install dependencies
run: |
pip install -U https://github.com/platformio/platformio/archive/develop.zip
pio pkg install --global --platform symlink://.
# OpenSSL needed for signed OTA update example
- name: Install OpenSSL
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install -y openssl
elif [ "$RUNNER_OS" == "Windows" ]; then
choco install wget unzip
wget "https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.5.3.zip"
unzip openssl-3.5.3.zip
echo "${{ github.workspace }}\openssl-3.5.3\x64\bin" >> $GITHUB_PATH
openssl --version
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install openssl
else
echo "$RUNNER_OS not supported"
exit 1
fi
shell: bash
- name: Build examples
run: |
pio run -d ${{ matrix.example }}