Pudding_LWGW_BR2/.drone/build-image.yaml

28 lines
669 B
YAML

kind: pipeline
type: vm
name: Build Image for {{ .input.name }}
pool:
use: do-docker-20-04
steps:
- name: Submodules for {{ .input.name }}
commands:
- git submodule update --init --recursive
- name: Install dependencies for {{ .input.name }}
environment:
DEBIAN_FRONTEND: noninteractive
commands:
- apt-get update
- apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget
- name: Configure for {{ .input.name }}
commands:
- ./buildroot_make.sh {{ .input.defconfig }}
- name: Build image for {{ .input.name }}
commands:
- ./buildroot_make.sh -j4