21 lines
420 B
YAML
21 lines
420 B
YAML
name: Build PlatformIO with Docker
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build with sglahn/platformio-core
|
|
run: |
|
|
docker run --rm \
|
|
--mount type=bind,source="$(pwd)",target=/workspace \
|
|
-w /workspace \
|
|
sglahn/platformio-core:latest run
|