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
c27911bc
Commit
c27911bc
authored
Jun 30, 2021
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bld: move dependencies cloning to build target
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
1fcfae80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
25 deletions
+17
-25
.gitlab-ci.yml
.gitlab-ci.yml
+17
-25
No files found.
.gitlab-ci.yml
View file @
c27911bc
...
@@ -2,19 +2,6 @@
...
@@ -2,19 +2,6 @@
#
#
# SPDX-FileCopyrightText: 2020 CERN
# SPDX-FileCopyrightText: 2020 CERN
before_script
:
-
yum install -y python3 python36-PyYAML
-
git clone https://gitlab.cern.ch/cohtdrivers/cheby.git ~/git/cheby
-
export CHEBY=~/git/cheby/proto/cheby.py
-
git clone 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 https://gitlab.cern.ch/coht/fmc.git ~/git/fmc
-
export FMC=~/git/fmc
-
git clone --branch proposed_master 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
stages
:
stages
:
-
static-analysis
-
static-analysis
-
build
-
build
...
@@ -29,11 +16,11 @@ reuse:
...
@@ -29,11 +16,11 @@ reuse:
-
reuse lint
-
reuse lint
allow_failure
:
true
allow_failure
:
true
cppcheck
:
#
cppcheck:
stage
:
static-analysis
#
stage: static-analysis
script
:
#
script:
-
yum install -y cppcheck
#
- yum install -y cppcheck
-
make -C software cppcheck
#
- make -C software cppcheck
documentation
:
documentation
:
stage
:
build
stage
:
build
...
@@ -45,14 +32,19 @@ documentation:
...
@@ -45,14 +32,19 @@ documentation:
build
:
build
:
stage
:
build
stage
:
build
before_script
:
-
yum install -y python3 python36-PyYAML kernel-devel
-
git clone https://gitlab.cern.ch/cohtdrivers/cheby.git ~/git/cheby
-
export CHEBY=~/git/cheby/proto/cheby.py
-
git clone 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 https://gitlab.cern.ch/coht/fmc.git ~/git/fmc
-
export FMC=~/git/fmc
-
git clone --branch proposed_master 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
:
script
:
-
yum install -y kernel-devel
-
LINUX=/usr/src/kernels/*/ make -C $FPGA_MGR all
-
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 $FMC/drivers/fmc all
-
LINUX=/usr/src/kernels/*/ make -C software
-
LINUX=/usr/src/kernels/*/ make -C software
build_dkms_rpm
:
stage
:
dkms
script
:
-
yum install -y dkms
-
make -C distribution dkms-rpm
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