From 637e5a80aaddb2a04d3b129c828a3a844a835bcc Mon Sep 17 00:00:00 2001 From: Peter Lichard Date: Sat, 6 Jun 2020 05:45:17 +0000 Subject: [PATCH] Initial .gitlab-ci.yml --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..aaad1c5 --- /dev/null +++ b/.gitlab-ci.yml @@ -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" +