Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
riraosan authored Feb 15, 2024
1 parent 24cf9ff commit cb20962
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build

# Because a PR results in a push; this workflow will run when a PR is merged
# or when a commit is pushed directly to any branch.
on:
push:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4

- name: Install pio and its dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO build on selected platforms
run: platformio run -e

# - name: Code static analysis
# run: platformio check

0 comments on commit cb20962

Please sign in to comment.