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
9172eda1
Commit
9172eda1
authored
Jul 01, 2021
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bld:ci: add extra build against different Linux versions
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
caa89d2d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
12 deletions
+50
-12
.gitlab-ci.yml
.gitlab-ci.yml
+50
-12
No files found.
.gitlab-ci.yml
View file @
9172eda1
...
...
@@ -31,11 +31,7 @@ documentation:
-
make -C doc html
allow_failure
:
true
build
:
stage
:
build
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/build-centos-7:latest
before_script
:
.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
...
...
@@ -44,7 +40,49 @@ build:
-
git clone --depth 1 https://ohwr.org/project/general-cores.git ~/git/general-cores/
-
export SPI=~/git/general-cores/software/spi-ocores
-
export I2C=~/git/general-cores/software/i2c-ocores
.script_build_kernel_dep
:
&script_build_kernel_dep
-
make -C $FPGA_MGR all
-
make -C $FMC/drivers/fmc all
build-centos-7
:
stage
:
build
variables
:
LINUX
:
/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
:
-
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
:
stage
:
build
allow_failure
:
true
variables
:
VERSION
:
5.10.47
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/build-kernel:latest
before_script
:
-
*script_fetch_kernel_dep
script
:
-
LINUX=/usr/src/kernels/*/ make -C $FPGA_MGR all
-
LINUX=/usr/src/kernels/*/ make -C $FMC/drivers/fmc all
-
LINUX=/usr/src/kernels/*/ make -C software
-
*script_build_kernel_ver
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