mirror of
https://github.com/brain-hackers/buildbrain
synced 2025-10-19 14:48:38 +09:00
Add workflow for building U-Boot and Linux
This commit is contained in:
29
.github/workflows/build.yml
vendored
Normal file
29
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install deps
|
||||
run: sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static
|
||||
|
||||
- name: Build nkbin-maker
|
||||
run: make nkbin-maker
|
||||
- name: Configure for U-Boot
|
||||
run: make udefconfig
|
||||
- name: Build U-Boot
|
||||
run: make ubuild
|
||||
- name: Generate NK.bin
|
||||
run: make nk.bin
|
||||
|
||||
- name: Configure for Linux
|
||||
run: make ldefconfig
|
||||
- name: Build Linux
|
||||
run: make lbuild
|
Reference in New Issue
Block a user