Skip to content

Commit 787b1c3

Browse files
authored
Add GitHub Actions (#264)
Add initial github action
1 parent 8a869c9 commit 787b1c3

File tree

2 files changed

+37
-19
lines changed

2 files changed

+37
-19
lines changed

.github/workflows/verify_build.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build Framework
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Cache pip
19+
uses: actions/cache@v2
20+
with:
21+
path: ~/.cache/pip
22+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
23+
restore-keys: |
24+
${{ runner.os }}-pip-
25+
- name: Cache PlatformIO
26+
uses: actions/cache@v2
27+
with:
28+
path: ~/.platformio
29+
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
30+
- name: Set up Python
31+
uses: actions/setup-python@v2
32+
- name: Install PlatformIO
33+
run: |
34+
python -m pip install --upgrade pip
35+
pip install --upgrade platformio
36+
- name: Run PlatformIO
37+
run: pio run -e esp12e -e node32s

.travis.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)