From 8be2eaf4cb5a777e81952ef958f3196cfe48f7a4 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Tue, 31 Jan 2023 07:35:40 +1100 Subject: [PATCH] Draft ci action --- .github/workflows/build-firmware.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build-firmware.yml diff --git a/.github/workflows/build-firmware.yml b/.github/workflows/build-firmware.yml new file mode 100644 index 0000000..bf6d9a7 --- /dev/null +++ b/.github/workflows/build-firmware.yml @@ -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