Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/karniv00l/platformio-run-action

GitHub Action for PlatformIO CI Run
https://github.com/karniv00l/platformio-run-action

actions ci-cd github-actions platformio platformio-ci platformio-cli

Last synced: 4 days ago
JSON representation

GitHub Action for PlatformIO CI Run

Awesome Lists containing this project

README

        

# PlatformIO Run

GitHub Action for PlatformIO Run.

## Usage

`.github/workflows/platformio-build.yml`

```yml
name: PlatformIO

on: pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: PlatformIO Run
uses: karniv00l/platformio-run-action@v1
with:
environments: "teensy35,teensy36,teensy41"
targets: "teensy35,teensy36,teensy41"
project-dir: "./some_dir"
project-conf: "./some_dir/custom.ini"
jobs: 6
silent: false
verbose: true
disable-auto-clean: false
```

## Inputs

```yml
environments:
description: Process specified environments (comma separated).
required: false
targets:
description: Process specified targets (comma separated).
required: false
project-dir:
description: Specify the path to project directory. By default, project-dir is equal to current working directory (CWD).
required: false
project-conf:
description: Process project with a custom platformio.ini
required: false
jobs:
description: Control a number of parallel build jobs. Default is a number of CPUs in a system.
required: false
silent:
description: Suppress progress reporting.
required: false
verbose:
description: Shows detailed information when processing environments.
required: false
disable-auto-clean:
description: Disable auto-clean of build_dir when platformio.ini or src_dir (project structure) have been modified.
required: false
```