Add CI pipeline

This commit is contained in:
TheDevMinerTV
2022-02-22 00:55:16 +01:00
parent a9311763a8
commit 74a1fbbfea
3 changed files with 149 additions and 0 deletions

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

@@ -0,0 +1,29 @@
name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
- name: Install pio and its dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run builds
run: python ./ci/build.py
- name: Upload binaries
uses: actions/upload-artifact@v2
with:
name: binaries
path: ./build/*.bin