Skip to content

Arduino Bootstrapper (v1.18.1) (#39) #412

Arduino Bootstrapper (v1.18.1) (#39)

Arduino Bootstrapper (v1.18.1) (#39) #412

Workflow file for this run

name: GitHub Actions CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
python --version
- name: Install submodules
run: |
pwd
git submodule update --init
ls
- name: Setup template config files
run: |
mkdir /home/runner/work/arduino_bootstrapper/arduino_bootstrapper/include
cp /home/runner/work/arduino_bootstrapper/arduino_bootstrapper/examples/ChangeName.cpp /home/runner/work/arduino_bootstrapper/arduino_bootstrapper/src/ChangeName.cpp
cp /home/runner/work/arduino_bootstrapper/arduino_bootstrapper/examples/ChangeName.h /home/runner/work/arduino_bootstrapper/arduino_bootstrapper/include/ChangeName.h
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
- name: Static code analysis
run: platformio check --verbose --severity=high --skip-packages
- name: Run PlatformIO
run: platformio run -e bootstrapper
- name: Creating artifact from BIN file
uses: actions/upload-artifact@v4
with:
name: firmware_build_artifact_arduino_bootstrapper.bin
path: .pio/build/bootstrapper/firmware.bin