2018-09-15 05:42:42 -04:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
2020-01-08 17:33:49 +01:00
|
|
|
- image: osresearch/musl-cross:38e52db
|
2018-09-15 05:42:42 -04:00
|
|
|
steps:
|
2018-09-15 06:56:42 -04:00
|
|
|
- checkout
|
|
|
|
|
2018-09-18 12:08:16 -04:00
|
|
|
- run:
|
|
|
|
name: Bootstrap make
|
|
|
|
command: |
|
2018-09-18 15:59:48 -04:00
|
|
|
make -j4 bootstrap
|
2018-09-18 12:08:16 -04:00
|
|
|
|
2020-01-09 00:07:19 +01:00
|
|
|
# linuxboot steps need something to pass in the kernel header path
|
|
|
|
# skipping for now
|
|
|
|
# - run:
|
|
|
|
# name: qemu-linuxboot-edk2
|
|
|
|
# command: |
|
|
|
|
# ./build/make-4.2.1/make \
|
|
|
|
# CROSS=/cross/bin/x86_64-linux-musl- \
|
|
|
|
# BOARD=qemu-linuxboot \
|
|
|
|
# `/bin/pwd`/build/linuxboot-git/build/qemu/.configured \
|
|
|
|
# # Run first to avoid too many processes
|
|
|
|
#
|
|
|
|
# - run:
|
|
|
|
# name: qemu-linuxboot
|
|
|
|
# command: |
|
|
|
|
# ./build/make-4.2.1/make \
|
|
|
|
# CROSS=/cross/bin/x86_64-linux-musl- \
|
|
|
|
# --load 2 \
|
|
|
|
# V=1 \
|
|
|
|
# BOARD=qemu-linuxboot \
|
|
|
|
#
|
|
|
|
# - store-artifacts:
|
|
|
|
# path: build/qemu-linuxboot/linuxboot.rom
|
|
|
|
# - store-artifacts:
|
|
|
|
# path: build/qemu-linuxboot/hashes.txt
|
2018-09-18 07:14:39 -04:00
|
|
|
|
2018-09-18 13:07:14 -04:00
|
|
|
|
2020-01-08 22:45:39 +01:00
|
|
|
- run:
|
|
|
|
name: qemu-coreboot
|
|
|
|
command: |
|
|
|
|
./build/make-4.2.1/make \
|
|
|
|
CROSS=/cross/bin/x86_64-linux-musl- \
|
2020-01-08 23:10:46 +01:00
|
|
|
--load 2 \
|
2020-01-08 23:26:20 +01:00
|
|
|
V=1 \
|
2020-01-08 22:45:39 +01:00
|
|
|
BOARD=qemu-coreboot \
|
|
|
|
|
|
|
|
- store-artifacts:
|
|
|
|
path: build/qemu-coreboot/coreboot.rom
|
|
|
|
- store-artifacts:
|
|
|
|
path: build/qemu-coreboot/hashes.txt
|
|
|
|
|
2018-09-18 13:07:14 -04:00
|
|
|
- run:
|
|
|
|
name: x230
|
|
|
|
command: |
|
|
|
|
./build/make-4.2.1/make \
|
2020-01-08 17:33:49 +01:00
|
|
|
CROSS=/cross/bin/x86_64-linux-musl- \
|
2020-01-08 23:10:46 +01:00
|
|
|
--load 2 \
|
2020-01-08 23:26:20 +01:00
|
|
|
V=1 \
|
2018-09-18 13:07:14 -04:00
|
|
|
BOARD=x230 \
|
|
|
|
|
|
|
|
- store-artifacts:
|
|
|
|
path: build/x230/coreboot.rom
|
|
|
|
- store-artifacts:
|
|
|
|
path: build/x230/hashes.txt
|
|
|
|
|
|
|
|
|
2018-09-15 05:42:42 -04:00
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build_and_test:
|
|
|
|
jobs:
|
|
|
|
- build
|