Add No. 2 Pinecil boot image #143
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: | |
runs-on: ubuntu-20.04 | |
container: | |
image: alpine:3.15 | |
strategy: | |
matrix: | |
include: | |
- model: "miniware" | |
- model: "pinecilv1" | |
- model: "pinecilv2" | |
- model: "mhp30" | |
- model: "s60" | |
fail-fast: true | |
steps: | |
- name: Install dependencies (apk) | |
run: apk add --no-cache git python3 py3-pip zlib py3-pillow py3-intelhex | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: prep | |
run: mkdir -p /tmp/${{ matrix.model }} | |
- name: build all files for the device | |
run: cd Bootup\ Logos && ./run.sh /tmp/${{ matrix.model }}/ -m ${{matrix.model}} | |
- name: build logo erase file | |
run: cd Bootup\ Logos && python3 img2logo.py -E erase_stored_image /tmp/${{ matrix.model }}/ -m ${{matrix.model}} | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ matrix.model }} | |
path: | | |
/tmp/${{ matrix.model }}/*.hex | |
/tmp/${{ matrix.model }}/*.dfu | |
if-no-files-found: error |