circleci: try using the osresearch/musl-cross docker image

Signed-off-by: Trammell Hudson <hudson@trmm.net>
This commit is contained in:
Trammell Hudson 2020-01-08 17:33:49 +01:00
parent 791d064397
commit fed0858126
No known key found for this signature in database
GPG Key ID: 0F948052DDECBE68

View File

@ -2,35 +2,8 @@ version: 2
jobs: jobs:
build: build:
docker: docker:
- image: osresearch/heads-ubuntu:16.04 - image: osresearch/musl-cross:38e52db
steps: 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 - checkout
- run: - run:
@ -38,22 +11,11 @@ jobs:
command: | command: |
make -j4 bootstrap make -j4 bootstrap
- run:
name: Bootstrap coreboot-gcc
command: |
./build/make-4.2.1/make \
TOOLCHAIN=/home/builder/heads \
V=1 \
BOARD=qemu-coreboot \
coreboot-gcc
- run: - run:
name: qemu-coreboot name: qemu-coreboot
command: | command: |
./build/make-4.2.1/make \ ./build/make-4.2.1/make \
TOOLCHAIN=/home/builder/heads \ CROSS=/cross/bin/x86_64-linux-musl- \
V=1 \
-j4 \ -j4 \
BOARD=qemu-coreboot \ BOARD=qemu-coreboot \
@ -67,7 +29,7 @@ jobs:
name: qemu-linuxboot name: qemu-linuxboot
command: | command: |
./build/make-4.2.1/make \ ./build/make-4.2.1/make \
TOOLCHAIN=/home/builder/heads \ CROSS=/cross/bin/x86_64-linux-musl- \
V=1 \ V=1 \
-j4 \ -j4 \
BOARD=qemu-linuxboot \ BOARD=qemu-linuxboot \
@ -82,7 +44,7 @@ jobs:
name: x230 name: x230
command: | command: |
./build/make-4.2.1/make \ ./build/make-4.2.1/make \
TOOLCHAIN=/home/builder/heads \ CROSS=/cross/bin/x86_64-linux-musl- \
-j4 \ -j4 \
V=1 \ V=1 \
BOARD=x230 \ BOARD=x230 \