mirror of
https://gitlab.com/mecatronyx/opencnc/experiments/opencn-rootfs.git
synced 2026-08-18 00:49:46 +08:00
Update .gitlab-ci.yml
This commit is contained in:
+13
-13
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user