Skip to content

Merge branch 'master' of https://github.com/fredlcore/BSB_LAN #1966

Merge branch 'master' of https://github.com/fredlcore/BSB_LAN

Merge branch 'master' of https://github.com/fredlcore/BSB_LAN #1966

Workflow file for this run

name: PlatformIO CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python_version:
- "3.8"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio
key: ${{ runner.os }}-python${{ matrix.python_version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install --upgrade platformio
platformio update
# Ethernet library
platformio lib -g install 872
- name: Setup config
run: |
cp BSB_LAN/BSB_LAN_config.h.default BSB_LAN/BSB_LAN_config.h
cp BSB_LAN/BSB_LAN_custom_defs.h.default BSB_LAN/BSB_LAN_custom_defs.h
- name: Run PlatformIO CI
run: platformio ci --board=due ./BSB_LAN