Commit 5a3632ed authored by Vaibhav Gupta's avatar Vaibhav Gupta

CI/CD: Use project evergreen's template for builds

With project evergreen's CI/CD templates and includes, it is much easier
to build CI/Cd of other projects with simple .gitlab-ci.yml file.

One of the template is for building the driver for Fec-CC7 which already
includes docer image with needed packages. Thus, use it.
Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent 1e232a63
......@@ -40,18 +40,10 @@ flawfinder:
- make -C $FMC/drivers/fmc all
- make -C $ZIO/drivers/zio all
build-centos-7:
stage: build
kernel_build_cc7:
extends: .kernel_build_cc7
variables:
KERNELSRC: /usr/src/kernels/*/
image:
name: gitlab-registry.cern.ch/coht/common-containers/build-centos-7:latest
before_script:
- *script_fetch_kernel_dep
- *script_build_kernel_dep
script:
- export KERNELSRC=/usr/src/kernels/*/
- make -C software
EDL_CI_KBUILD_PATHS: software/kernel
build-kernel:
stage: build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment