mirror of
https://github.com/embedd-actions/platformio-ci.git
synced 2024-12-25 16:32:25 +03:00
add
This commit is contained in:
commit
87d2468313
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM debian:stable-slim
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install \
|
||||
python3 \
|
||||
python3-pip \
|
||||
-y && \
|
||||
rm -rf /var/cache/apt && \
|
||||
pip3 install platformio
|
16
README.md
Normal file
16
README.md
Normal file
@ -0,0 +1,16 @@
|
||||
## Пример настройки CI/CD
|
||||
|
||||
```
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Building project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build
|
||||
uses: embedd-actions/platformio-ci@v1
|
||||
|
||||
|
||||
```
|
9
action.yml
Normal file
9
action.yml
Normal file
@ -0,0 +1,9 @@
|
||||
name: 'Platformio build'
|
||||
description: 'Building platformio projects'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
args:
|
||||
- pio
|
||||
- run
|
||||
|
Loading…
Reference in New Issue
Block a user