mirror of
https://gitlab.com/mecatronyx/opencnc/experiments/opencn-rootfs.git
synced 2026-09-24 19:13:37 +08:00
Initial .gitlab-ci.yml
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# 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:
|
||||
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
|
||||
# artifacts:
|
||||
# paths:
|
||||
# -
|
||||
# depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
|
||||
# cache:
|
||||
# paths:
|
||||
# - "*.o"
|
||||
|
||||
Reference in New Issue
Block a user