1
0
forked from me/IronOS-Meta
This commit is contained in:
Ben V. Brown
2022-02-14 21:05:30 +11:00
parent 22207921b1
commit 24f805cdac
2 changed files with 68 additions and 16 deletions

43
.github/workflows/push.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
container:
image: alpine:3.15
strategy:
matrix:
include:
- args: ""
model: "miniware"
- args: "-p"
model: "pinecil"
fail-fast: true
steps:
- name: Install dependencies (apk)
run: apk add --no-cache git python3 py3-pip
- name: Install dependencies (py)
run: pip3 install IntelHex
- uses: actions/checkout@v2
with:
submodules: true
- name: prep
run: mkdir -p /tmp/${{ matrix.model }}
- name: build test
run: cd Bootup\ Logos && python3 img2logo.py ${{matrix.args}} Images/IronOS.gif /tmp/${{ matrix.model }}/IronOS.gif
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.model }}
path: |
/tmp/${{ matrix.model }}/*.hex
/tmp/${{ matrix.model }}/*.dfu
if-no-files-found: error