Skip to content

ADDED DOCS

ADDED DOCS #3

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: PlatformIO CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Enables a button on Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
pip install --upgrade platformio
- name: Create sample config file
run: |
cp ./src/config/config_sample.h ./src/config/config.h
- name: Compile with Platform IO
run: |
pio run