Update .gitlab-ci.yml

This commit is contained in:
Peter Lichard
2020-06-06 07:17:56 +00:00
parent a99b7cee8d
commit db8c349f80
+14 -8
View File
@@ -1,18 +1,23 @@
# This file is a template, and might need editing before it works on your project.
# use the official gcc image, based on debian
# can use verions as well, like gcc:5.2
# see https://hub.docker.com/_/gcc/
image: gcc:7.5.0
build:
build-qemu:
stage: build
# instead of calling g++ directly you can also use some build toolkit like make
# install the necessary build tools when needed
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 source && make
- cd rootfs && make opencn_qemu_defconfig && make -s source && make -s
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
artifacts:
paths:
- rootfs
@@ -20,4 +25,5 @@ build:
cache:
paths:
- "buildroot/dl"
- "rootfs/build/host-*"