mirror of
https://github.com/meshtastic/firmware.git
synced 2026-11-01 20:11:25 -05:00
32 lines
860 B
YAML
32 lines
860 B
YAML
name: Setup Build Base Composite Action
|
|
description: Base build actions for Meshtastic Platform IO steps
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v7
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get -y update --fix-missing
|
|
sudo apt-get install -y cppcheck libbluetooth-dev libsdbus-c++-dev libgpiod-dev libyaml-cpp-dev libjsoncpp-dev lsb-release
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v7
|
|
with:
|
|
python-version: "3.15"
|
|
cache: pip
|
|
cache-dependency-path: |
|
|
.github/actions/**
|
|
**.ini
|
|
|
|
- name: Upgrade python tools
|
|
shell: bash
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r .github/actions/setup-base/requirements.txt
|