Functional UART logging both inside and outside dev container #149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
with: | |
path: /usr/src/out/open_source/open_source.bin |