Build the shimboot disk image for all boards #3
Workflow file for this run
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: build-image | |
run-name: Build the shimboot disk image for all boards | |
on: [push] | |
jobs: | |
main: | |
strategy: | |
matrix: | |
board: [dedede, octopus] | |
runs-on: ubuntu-latest | |
steps: | |
- name: wait for rootfs build to finish | |
uses: lewagon/[email protected] | |
with: | |
ref: ${{ github.ref }} | |
running-workflow-name: build-rootfs | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
wait-interval: 10 | |
- name: download repo | |
uses: actions/checkout@v4 | |
- name: download rootfs | |
uses: actions/download-artifact@v4 | |
with: | |
name: rootfs_tar | |
path: data/rootfs.tar.gz | |
- name: extract rootfs | |
run: | | |
sudo mkdir -p data/rootfs | |
sudo tar -xvf data/rootfs.tar.gz -C data/rootfs | |
- name: run build | |
run: sudo DEBUG=1 ./build_complete.sh ${{ matrix.board }} compress_img=1 rootfs_dir=./data/rootfs | |
- name: upload img | |
uses: actions/upload-artifact@v4 | |
with: | |
name: shimboot_${{ matrix.board }} | |
path: data/shimboot_${{ matrix.board }}.zip | |
compression-level: 0 |