mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
1e77a72f99
Signed-off-by: Trammell hudson <hudson@trmm.net>
74 lines
1.8 KiB
YAML
74 lines
1.8 KiB
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: osresearch/musl-cross:38e52db
|
|
steps:
|
|
- checkout
|
|
|
|
- run:
|
|
name: Bootstrap make
|
|
command: |
|
|
make -j4 bootstrap
|
|
|
|
# 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
|
|
|
|
|
|
- run:
|
|
name: qemu-coreboot
|
|
command: |
|
|
./build/make-4.2.1/make \
|
|
CROSS=/cross/bin/x86_64-linux-musl- \
|
|
--load 2 \
|
|
V=1 \
|
|
BOARD=qemu-coreboot \
|
|
|
|
- store-artifacts:
|
|
path: build/qemu-coreboot/coreboot.rom
|
|
- store-artifacts:
|
|
path: build/qemu-coreboot/hashes.txt
|
|
|
|
- run:
|
|
name: x230
|
|
command: |
|
|
./build/make-4.2.1/make \
|
|
CROSS=/cross/bin/x86_64-linux-musl- \
|
|
--load 2 \
|
|
V=1 \
|
|
BOARD=x230 \
|
|
|
|
- store-artifacts:
|
|
path: build/x230/coreboot.rom
|
|
- store-artifacts:
|
|
path: build/x230/hashes.txt
|
|
|
|
|
|
workflows:
|
|
version: 2
|
|
build_and_test:
|
|
jobs:
|
|
- build
|