2018-09-15 09:42:42 +00:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
2018-09-15 09:59:28 +00:00
|
|
|
- image: ubuntu:16.04
|
2018-09-15 09:42:42 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2018-09-15 09:56:58 +00:00
|
|
|
- run:
|
|
|
|
name: Install dependencies
|
|
|
|
command: |
|
2018-09-15 09:58:00 +00:00
|
|
|
apt update
|
2018-09-15 09:56:58 +00:00
|
|
|
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 \
|
2018-09-15 09:52:38 +00:00
|
|
|
|
2018-09-15 09:56:58 +00:00
|
|
|
- run:
|
2018-09-15 10:53:34 +00:00
|
|
|
name: Bootstrap
|
2018-09-15 09:56:58 +00:00
|
|
|
command: |
|
2018-09-15 10:53:34 +00:00
|
|
|
make `pwd`/build/make-4.2/make
|
|
|
|
./build/make-4.2/make -j4 musl-cross
|
2018-09-15 09:56:58 +00:00
|
|
|
- run:
|
|
|
|
name: qemu-coreboot
|
|
|
|
command: |
|
2018-09-15 10:53:34 +00:00
|
|
|
./build/make-4.2/make -j4 BOARD=qemu-coreboot
|
2018-09-15 09:56:58 +00:00
|
|
|
- run:
|
|
|
|
name: qemu-linuxboot
|
|
|
|
command: |
|
2018-09-15 10:53:34 +00:00
|
|
|
./build/make-4.2/make -j4 BOARD=qemu-linuxboot
|
2018-09-15 09:42:42 +00:00
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build_and_test:
|
|
|
|
jobs:
|
|
|
|
- build
|