mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
74 lines
1.7 KiB
YAML
74 lines
1.7 KiB
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: osresearch/heads-builder:18.04
|
|
steps:
|
|
- run:
|
|
name: Install dependencies
|
|
command: |
|
|
apt update
|
|
apt install -y \
|
|
build-essential \
|
|
zlib1g-dev \
|
|
uuid-dev \
|
|
libdigest-sha-perl \
|
|
libelf-dev \
|
|
bc \
|
|
bzip2 \
|
|
bison \
|
|
flex \
|
|
git \
|
|
gnupg \
|
|
iasl \
|
|
m4 \
|
|
nasm \
|
|
patch \
|
|
python \
|
|
wget \
|
|
gnat \
|
|
cpio \
|
|
ccache \
|
|
lzma \
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
name: coreboot gcc
|
|
command: |
|
|
/home/builder/heads/build/make-4.2.1/make \
|
|
TERM=dumb \
|
|
V=1 \
|
|
TOOLCHAIN=/home/builder/heads \
|
|
packages=`pwd`/packages \
|
|
BOARD=qemu-coreboot \
|
|
coreboot-gcc \
|
|
|
|
- run:
|
|
name: qemu-coreboot
|
|
command: |
|
|
/home/builder/heads/build/make-4.2.1/make \
|
|
TERM=dumb \
|
|
-j4 \
|
|
V=1 \
|
|
TOOLCHAIN=/home/builder/heads \
|
|
packages=`pwd`/packages \
|
|
BOARD=qemu-coreboot \
|
|
|
|
- run:
|
|
name: qemu-linuxboot
|
|
command: |
|
|
/home/builder/heads/build/make-4.2.1/make \
|
|
TERM=dumb \
|
|
-j4 \
|
|
V=1 \
|
|
TOOLCHAIN=/home/builder/heads \
|
|
packages=`pwd`/packages \
|
|
BOARD=qemu-linuxboot \
|
|
|
|
workflows:
|
|
version: 2
|
|
build_and_test:
|
|
jobs:
|
|
- build
|