mirror of
https://gitlab.com/mecatronyx/opencnc/experiments/opencn-rootfs.git
synced 2026-02-05 03:20:00 +08:00
30 lines
708 B
YAML
30 lines
708 B
YAML
image: gcc:7.5.0
|
|
|
|
build-qemu:
|
|
stage: build
|
|
before_script:
|
|
- apt update && apt -y install make autoconf cpio rsync bc
|
|
- export FORCE_UNSAFE_CONFIGURE=1
|
|
script:
|
|
- cd rootfs && make opencn_qemu_defconfig && make -s source && make -s > /dev/null
|
|
artifacts:
|
|
paths:
|
|
- rootfs
|
|
|
|
build-x86:
|
|
stage: build
|
|
before_script:
|
|
- apt update && apt -y install make autoconf cpio rsync bc
|
|
- export FORCE_UNSAFE_CONFIGURE=1
|
|
script:
|
|
- cd rootfs && make opencn_x86_defconfig && make -s source && make -s > /dev/null
|
|
artifacts:
|
|
paths:
|
|
- rootfs
|
|
|
|
cache:
|
|
paths:
|
|
- "buildroot/dl"
|
|
- "rootfs/build/host-*"
|
|
|