Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha
Commits
42c7f455
Commit
42c7f455
authored
Nov 14, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: add gitlab-ci
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
25f66f51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
0 deletions
+79
-0
.gitlab-ci.yml
.gitlab-ci.yml
+79
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
42c7f455
# SPDX-FileCopyrightText: 2020 CERN (home.cern)
#
# SPDX-License-Identifier: LGPL-2.1-or-later
variables
:
GIT_SUBMODULE_STRATEGY
:
normal
include
:
-
project
:
'
be-cem-edl/evergreen/gitlab-ci'
ref
:
master
file
:
-
'
edl-gitlab-ci.yml'
cppcheck
:
stage
:
analyse
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/static-analysis:latest
script
:
-
make -C software cppcheck
flawfinder
:
stage
:
analyse
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/static-analysis:latest
script
:
-
make -C software/tools flawfinder
documentation
:
stage
:
build
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/documentation:latest
script
:
-
make -C doc html
-
mkdir -p $EDL_CI_EOS_OUTPUT_DIR
-
cp -a doc/_build/html/* $EDL_CI_EOS_OUTPUT_DIR
artifacts
:
paths
:
-
$EDL_CI_EOS_OUTPUT_DIR
.script_fetch_kernel_dep
:
&script_fetch_kernel_dep
-
git clone --depth 1 https://gitlab.cern.ch/cohtdrivers/coht.git ~/git/coht
-
export VMEBUS=~/git/coht/vmebridge-ng
-
git clone -b v1.1.5 --depth 1 https://ohwr.org/project/fmc-sw.git ~/git/fmc
-
export FMC=~/git/fmc
-
git clone -b v1.4.4 --depth 1 https://ohwr.org/project/zio.git ~/git/zio
-
export ZIO=~/git/zio
.script_build_kernel_dep
:
&script_build_kernel_dep
-
make -C $FMC/drivers/fmc all
-
make -C $ZIO/drivers/zio all
build-centos-7
:
stage
:
build
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
build-kernel
:
stage
:
build
allow_failure
:
true
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/build-kernel:latest
parallel
:
matrix
:
-
VERSION
:
[
5.10.149
,
5.15.74
]
before_script
:
-
*script_fetch_kernel_dep
script
:
-
source /linux-versions.sh
-
fetch $VERSION && prepare $VERSION && export KERNELSRC=$(linux $VERSION)
-
*script_build_kernel_dep
-
make -C software/kernel all
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment