Skip to content

Commit

Permalink
testing basic github platformIO workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Jun 25, 2020
1 parent 62659c3 commit 7b778b8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: PlatformIO

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
platformio update
- name: Build test
run: |
pio run
- uses: actions/upload-artifact@v1
with:
name: firmware
path: .pio/build/ttgo-display/firmware.bin
- uses: actions/upload-artifact@v1
with:
name: partitions
path: .pio/build/ttgo-display/partitions.bin

0 comments on commit 7b778b8

Please sign in to comment.