Files
opencn-rootfs/.gitlab-ci.yml
2020-06-11 07:58:27 +00:00

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-*"