Files
build-coreboot/action.yml
Michał Kopeć 816f01f834 initial commit
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-07-17 17:25:09 +02:00

26 lines
559 B
YAML

name: Build coreboot
description: Build coreboot firmware
inputs:
defconfig:
description: 'Path to platform defconfig'
required: true
outputs:
binary:
description: 'Path of the compiled coreboot binary'
runs:
using: 'composite'
steps:
- name: Copy platform defconfig
run: cp $INPUT_DEFCONFIG .config
shell: bash
env:
INPUT_DEFCONFIG: ${{ inputs.defconfig }}
- name: Run olddefconfig
run: make olddefconfig
shell: bash
- name: Build coreboot
run: make -j $(nproc)
shell: bash