20 lines
414 B
YAML
20 lines
414 B
YAML
name: Embedded CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Environment
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y python3 python3-pip python3-venv
|
|
python3 -m pip install --upgrade platformio
|
|
|
|
- name: Build Project
|
|
run: |
|
|
pio run |