Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Simple PCIe FMC carrier SPEC
Commits
db770f2a
Commit
db770f2a
authored
Nov 08, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: upgrade to EDL gitlab-ci
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
66214edd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
39 deletions
+23
-39
.gitlab-ci.yml
.gitlab-ci.yml
+23
-39
No files found.
.gitlab-ci.yml
View file @
db770f2a
...
...
@@ -2,22 +2,14 @@
#
# SPDX-FileCopyrightText: 2020 CERN
stages
:
-
static-analysis
-
build
-
dkms
reuse
:
stage
:
static-analysis
image
:
name
:
fsfe/reuse:latest
entrypoint
:
[
"
"
]
script
:
-
reuse lint
allow_failure
:
true
include
:
-
project
:
'
be-cem-edl/evergreen/gitlab-ci'
ref
:
master
file
:
-
'
edl-gitlab-ci.yml'
cppcheck
:
stage
:
static-analysis
stage
:
analyse
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/static-analysis:latest
script
:
...
...
@@ -29,13 +21,16 @@ documentation:
name
:
gitlab-registry.cern.ch/coht/common-containers/documentation:latest
script
:
-
make -C doc html
allow_failure
:
true
-
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/fvaga/fpga-manager.git ~/git/fpga-mgr
-
export FPGA_MGR=~/git/fpga-mgr
-
export CONFIG_FPGA_MGR_BACKPORT=y
-
git clone --depth 1 https://gitlab.cern.ch/coht/fmc.git ~/git/fmc
-
git clone -b v1.1.5 --depth 1 https://ohwr.org/project/fmc-sw.git ~/git/fmc
-
export FMC=~/git/fmc
-
git clone --depth 1 https://ohwr.org/project/general-cores.git ~/git/general-cores/
-
export SPI=~/git/general-cores/software/spi-ocores
...
...
@@ -48,7 +43,8 @@ documentation:
build-centos-7
:
stage
:
build
variables
:
LINUX
:
/usr/src/kernels/*/
CONFIG_FPGA_MGR_BACKPORT
:
y
KERNELSRC
:
/usr/src/kernels/*/
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/build-centos-7:latest
before_script
:
...
...
@@ -57,32 +53,20 @@ build-centos-7:
script
:
-
make -C software
.script_build_kernel_ver
:
&script_build_kernel_ver
-
source /linux-versions.sh
-
fetch $VERSION && prepare $VERSION && export LINUX=$(linux $VERSION)
-
*script_build_kernel_dep
-
make -C software/kernel all
build-kernel-5.4.129
:
stage
:
build
allow_failure
:
true
variables
:
VERSION
:
5.4.129
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/build-kernel:latest
before_script
:
-
*script_fetch_kernel_dep
script
:
-
*script_build_kernel_ver
build-kernel-5.10.47
:
build-kernel
:
stage
:
build
allow_failure
:
true
variables
:
VERSION
:
5.10.47
CONFIG_FPGA_MGR_BACKPORT
:
n
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
:
-
*script_build_kernel_ver
-
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