2024-01-25 17:13:19 -05:00
|
|
|
name: build-image
|
|
|
|
run-name: Build the shimboot disk image for all boards
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2024-01-25 18:46:10 -05:00
|
|
|
build:
|
2024-01-25 17:13:19 -05:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-01-30 16:13:03 -05:00
|
|
|
board: [dedede, octopus, coral, grunt]
|
2024-01-25 17:13:19 -05:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: download repo
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: run build
|
2024-01-25 18:08:00 -05:00
|
|
|
run: sudo DEBUG=1 ./build_complete.sh ${{ matrix.board }} compress_img=1 quiet_download=1
|
2024-01-25 17:13:19 -05:00
|
|
|
|
|
|
|
- name: upload img
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
name: shimboot_${{ matrix.board }}
|
2024-01-26 03:05:15 -05:00
|
|
|
path: data/shimboot_${{ matrix.board }}.bin
|
|
|
|
compression-level: 9
|
2024-01-25 18:46:10 -05:00
|
|
|
|
|
|
|
- name: create release
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
|
|
with:
|
|
|
|
draft: true
|
|
|
|
files: data/shimboot_${{ matrix.board }}.zip
|