Initial .gitlab-ci.yml

This commit is contained in:
Peter Lichard
2020-06-06 05:45:17 +00:00
parent e15cee6854
commit 637e5a80aa
+22
View File
@@ -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"