Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
2ec61ea7
Commit
2ec61ea7
authored
Aug 20, 2019
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: fixing CI test flexran ctrl + basic simulator
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
82044134
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
ci-scripts/buildOnVM.sh
ci-scripts/buildOnVM.sh
+1
-1
ci-scripts/doc/vm_based_simulator_main_scripts.md
ci-scripts/doc/vm_based_simulator_main_scripts.md
+9
-9
ci-scripts/waitBuildOnVM.sh
ci-scripts/waitBuildOnVM.sh
+3
-0
No files found.
ci-scripts/buildOnVM.sh
View file @
2ec61ea7
...
...
@@ -179,7 +179,7 @@ function build_on_vm {
echo
"echo
\"
./tools/install_dependencies
\"
"
>>
$VM_CMDS
echo
"./tools/install_dependencies > cmake_targets/log/install-build.txt 2>&1"
>>
$VM_CMDS
echo
"echo
\"
$BUILD_OPTIONS
\"
"
>>
$VM_CMDS
echo
"
$BUILD_OPTIONS
> cmake_targets/log/rt_controller.Rel1
4
.txt 2>&1"
>>
$VM_CMDS
echo
"
$BUILD_OPTIONS
> cmake_targets/log/rt_controller.Rel1
5
.txt 2>&1"
>>
$VM_CMDS
fi
if
[[
"
$VM_NAME
"
!=
*
"-cppcheck"
*
]]
&&
[[
"
$VM_NAME
"
!=
*
"-flexran-rtc"
*
]]
then
...
...
ci-scripts/doc/vm_based_simulator_main_scripts.md
View file @
2ec61ea7
...
...
@@ -83,43 +83,43 @@ You can get the list of variant specific variables specifying the variant argume
VM_NAME
=
ci-flexran-rtc
ARCHIVES_LOC
=
flexran
VM_MEMORY
=
2048
VM_CPU
=
4
NB_PATTERN_FILES
=
1
BUILD_OPTIONS
=
"cmake . && make -j2"
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
--variant
enb-usrp OR
-v1
(
build and
test
)
VM_NAME
=
ci-enb-usrp
ARCHIVES_LOC
=
enb_usrp
VM_MEMORY
=
2048
VM_CPU
=
4
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
"--eNB -w USRP --mu"
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
--variant
l1-sim OR
-v20
(
test
)
VM_NAME
=
ci-l1-sim
ARCHIVES_LOC
=
l1_sim
VM_MEMORY
=
2048
VM_CPU
=
4
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
""
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
--variant
rf-sim OR
-v21
(
test
)
VM_NAME
=
ci-rf-sim
ARCHIVES_LOC
=
rf_sim
VM_MEMORY
=
2048
VM_CPU
=
4
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
""
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
--variant
l2-sim OR
-v22
(
test
)
VM_NAME
=
ci-l2-sim
ARCHIVES_LOC
=
l2_sim
VM_MEMORY
=
2048
VM_CPU
=
4
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
""
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
--variant
basic-sim OR
-v2
(
build and
test
)
VM_NAME
=
ci-basic-sim
ARCHIVES_LOC
=
basic_sim
VM_MEMORY
=
8192
VM_CPU
=
4
NB_PATTERN_FILES
=
13
BUILD_OPTIONS
=
"--eNB --UE"
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
--variant
phy-sim OR
-v3
(
build and
test
)
VM_NAME
=
ci-phy-sim
ARCHIVES_LOC
=
phy_sim
VM_MEMORY
=
2048
VM_CPU
=
4
NB_PATTERN_FILES
=
3
BUILD_OPTIONS
=
"--phy_simulators"
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
--variant
cppcheck OR
-v4
(
build and
test
)
VM_NAME
=
ci-cppcheck
ARCHIVES_LOC
=
cppcheck
...
...
@@ -131,13 +131,13 @@ You can get the list of variant specific variables specifying the variant argume
VM_NAME
=
ci-enb-ethernet
ARCHIVES_LOC
=
enb_eth
VM_MEMORY
=
4096
VM_CPU
=
4
NB_PATTERN_FILES
=
8
BUILD_OPTIONS
=
"--eNB"
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
--variant
ue-ethernet OR
-v8
(
build and
test
)
VM_NAME
=
ci-ue-ethernet
ARCHIVES_LOC
=
ue_eth
VM_MEMORY
=
4096
VM_CPU
=
4
NB_PATTERN_FILES
=
12
BUILD_OPTIONS
=
"--UE"
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
```
...
...
ci-scripts/waitBuildOnVM.sh
View file @
2ec61ea7
...
...
@@ -168,6 +168,9 @@ function check_on_vm_build {
if
[[
"
$VM_NAME
"
==
*
"-cppcheck"
*
]]
then
echo
"COMMAND: cppcheck
$BUILD_OPTIONS
. 2> cppcheck.xml"
>
$ARCHIVES_LOC
/build_final_status.log
elif
[[
"
$VM_NAME
"
==
*
"-flexran-rtc"
*
]]
then
echo
"COMMAND:
$BUILD_OPTIONS
"
>
$ARCHIVES_LOC
/build_final_status.log
else
echo
"COMMAND: build_oai -I
$BUILD_OPTIONS
"
>
$ARCHIVES_LOC
/build_final_status.log
fi
...
...
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