Draft ci action

This commit is contained in:
Ben V. Brown 2023-01-31 07:35:40 +11:00
parent 4166b13d54
commit 8be2eaf4cb
1 changed files with 17 additions and 0 deletions

17
.github/workflows/build-firmware.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: CI
on: [push, pull_request]
jobs:
build-firmware:
runs-on: ubuntu-latest
container:
image: ghcr.io/pine64/openpinebuds:latest-sdk
steps:
- name: Build the main firmware
run: cd /usr/src/ && ./build.sh || cat /usr/src/log.txt
- name: Archive produced firmware
uses: actions/upload-artifact@v3
with:
path: /usr/src/out/open_source/open_source.bin