2020-11-04 19:39:09 +09:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: true
|
2020-11-05 11:45:05 +09:00
|
|
|
- name: Workaround for apt update failure
|
|
|
|
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.*
|
2020-11-04 19:39:09 +09:00
|
|
|
- name: Install deps
|
2020-11-05 11:56:54 +09:00
|
|
|
run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap
|
2020-11-04 19:39:09 +09:00
|
|
|
|
|
|
|
- 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
|
2020-11-05 11:36:50 +09:00
|
|
|
run: make lbuild
|
|
|
|
|
|
|
|
- name: Build Debian Root
|
|
|
|
run: |
|
2020-11-05 12:18:42 +09:00
|
|
|
./tools/aptcache_linux_amd64 \
|
|
|
|
-rule 'local=localhost:65432, remote=ftp.us.debian.org' \
|
|
|
|
-rule 'local=localhost:65433, remote=security.debian.org' &
|
2020-11-05 11:36:50 +09:00
|
|
|
make debian
|