diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb1b938..e4504a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,18 +5,18 @@ image: gcc:7.5.0 build: - 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 - script: - - cd rootfs && make opencn_qemu_defconfig && make source - artifacts: - paths: - - rootfs/build - # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time - cache: + 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 + script: + - cd rootfs && make opencn_qemu_defconfig && make source + artifacts: paths: - - "buildroot/dl" + - rootfs/build + +cache: + paths: + - "buildroot/dl"