Create build.yml

This commit is contained in:
Gunnar Skjold
2019-11-22 19:24:56 +01:00
committed by GitHub
parent d0118c1dc0
commit f32de12907

29
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Push build
on:
push:
branches:
- '*'
tags:
- '*'
- '!v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
- name: PlatformIO lib install
run: pio lib install
- name: PlatformIO run
run: pio run