30 lines
791 B
YAML
30 lines
791 B
YAML
# Use the latest 2.1 version of CircleCI pipeline process engine.
|
|
# See: https://circleci.com/docs/configuration-reference
|
|
version: 2.1
|
|
|
|
orbs:
|
|
python: circleci/python@1.4.0
|
|
|
|
# Define a job to be invoked later in a workflow.
|
|
# See: https://circleci.com/docs/configuration-reference/#jobs
|
|
jobs:
|
|
pio-build:
|
|
executor: python/default
|
|
# Add steps to the job
|
|
# See: https://circleci.com/docs/configuration-reference/#steps
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: "platformio install"
|
|
command: "pip install --upgrade platformio"
|
|
- run:
|
|
name: "build"
|
|
command: "pio run"
|
|
|
|
# Orchestrate jobs using workflows
|
|
# See: https://circleci.com/docs/configuration-reference/#workflows
|
|
workflows:
|
|
build-workflow:
|
|
jobs:
|
|
- pio-build
|