heads/.circleci/config.yml
2020-01-07 23:34:17 +01:00

68 lines
1.4 KiB
YAML

version: 2
jobs:
build:
docker:
- image: ubuntu:18.04
steps:
- run:
name: Install dependencies
command: |
apt update
apt install -y \
build-essential \
zlib1g-dev \
uuid-dev \
libdigest-sha-perl \
libelf-dev \
pkg-config \
bc \
bzip2 \
bison \
flex \
git \
gnupg \
iasl \
m4 \
nasm \
patch \
python \
wget \
gnat \
cpio \
ccache \
lzma \
- checkout
- run:
name: Bootstrap make
command: |
make -j4 bootstrap
- run:
name: Bootstrap coreboot-gcc
command: |
./build/make-4.2.1/make \
BOARD=qemu-coreboot \
coreboot-gcc
- run:
name: qemu-coreboot
command: |
./build/make-4.2.1/make \
-j2 \
BOARD=qemu-coreboot \
- store-artifacts:
path: build/qemu-coreboot/coreboot.rom
- store-artifacts:
path: build/qemu-coreboot/hashes.txt
workflows:
version: 2
build_and_test:
jobs:
- build