heads/.circleci/config.yml

74 lines
1.7 KiB
YAML
Raw Normal View History

2018-09-15 09:42:42 +00:00
version: 2
jobs:
build:
docker:
- image: osresearch/heads-ubuntu:18.04
2018-09-15 09:42:42 +00:00
steps:
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 \
lzma \
2018-09-15 09:52:38 +00:00
2018-09-15 10:56:42 +00:00
- checkout
2018-09-15 09:56:58 +00:00
- run:
2018-09-18 13:27:18 +00:00
name: coreboot gcc
2018-09-15 09:56:58 +00:00
command: |
2018-09-18 13:27:18 +00:00
/home/builder/heads/build/make-4.2.1/make \
TERM=dumb \
2018-09-18 13:27:18 +00:00
V=1 \
TOOLCHAIN=/home/builder/heads \
packages=`pwd`/packages \
BOARD=qemu-coreboot \
coreboot-gcc \
2018-09-15 09:56:58 +00:00
- run:
name: qemu-coreboot
command: |
2018-09-18 13:27:18 +00:00
/home/builder/heads/build/make-4.2.1/make \
TERM=dumb \
-j4 \
V=1 \
TOOLCHAIN=/home/builder/heads \
packages=`pwd`/packages \
BOARD=qemu-coreboot \
2018-09-15 09:56:58 +00:00
- run:
name: qemu-linuxboot
command: |
2018-09-18 13:27:18 +00:00
/home/builder/heads/build/make-4.2.1/make \
TERM=dumb \
-j4 \
V=1 \
TOOLCHAIN=/home/builder/heads \
packages=`pwd`/packages \
BOARD=qemu-linuxboot \
2018-09-15 09:42:42 +00:00
workflows:
version: 2
build_and_test:
jobs:
- build