Kumi
76a8cf5083
Extended the CI pipeline to include a new job for building the hard disk drive (HDD) image alongside the existing ISO build, leveraging parallel processing with available CPU cores to optimize build time. This ensures automated packaging of the HDD format for broader deployment compatibility.
34 lines
493 B
YAML
34 lines
493 B
YAML
stages:
|
|
- build
|
|
- package
|
|
|
|
image: debian:latest
|
|
|
|
before_script:
|
|
- apt update
|
|
- apt install -y build-essential gcc mtools git xorriso gdisk make
|
|
|
|
build_kernel:
|
|
stage: build
|
|
script:
|
|
- make -j$(nproc) bin/kumios
|
|
artifacts:
|
|
paths:
|
|
- bin/kumios
|
|
|
|
build_iso:
|
|
stage: package
|
|
script:
|
|
- make -j$(nproc) iso
|
|
artifacts:
|
|
paths:
|
|
- bin/kumios.iso
|
|
|
|
build_hdd:
|
|
stage: package
|
|
script:
|
|
- make -j$(nproc) hdd
|
|
artifacts:
|
|
paths:
|
|
- bin/kumios.hdd
|
|
|