Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bodydynamics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
plugins
bodydynamics
Commits
a2774771
Commit
a2774771
authored
1 year ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
[skip ci] CI yml
parent
44477b1c
No related branches found
No related tags found
1 merge request
!25
Draft: Resolve "Adapt to new sensor constructors in core"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+37
-2
37 additions, 2 deletions
.gitlab-ci.yml
with
37 additions
and
2 deletions
.gitlab-ci.yml
+
37
−
2
View file @
a2774771
include
:
-
project
:
'
mobile_robotics/wolf_projects/wolf_lib/wolf'
ref
:
$WOLF_CORE_BRANCH
ref
:
454-implementation-of-new-nodes-creation
#
$WOLF_CORE_BRANCH
file
:
-
'
.ci_templates/.license_headers.yml'
-
'
.ci_templates/.yaml_schema_cpp.yml'
...
...
@@ -41,6 +41,9 @@ stages:
## preliminaries script (ssh, apt update and mkdir ci_deps)
-
!reference
[
.preliminaries_script
]
## initialize build type as DEBUG
-
export BUILD_TYPE=debug
.install_wolfimu_template
:
&install_wolfimu_definition
-
cd ${CI_PROJECT_DIR}/ci_deps
-
if [ -d imu ]; then
...
...
@@ -63,7 +66,7 @@ stages:
-
cd $CI_PROJECT_DIR
-
mkdir -pv build
-
cd build
-
cmake -DCMAKE_BUILD_TYPE=
release
-DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON ..
-
cmake -DCMAKE_BUILD_TYPE=
${BUILD_TYPE}
-DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON ..
-
make -j$(nproc)
-
ctest -j$(nproc) --output-on-failure
-
make install
...
...
@@ -98,6 +101,8 @@ yaml_templates_generation:
before_script
:
-
*preliminaries_definition
-
!reference
[
.install_yamlschemacpp_script
]
-
!reference
[
.install_wolf_script
]
-
*install_wolfimu_definition
script
:
-
!reference
[
.generate_yaml_templates_script
]
...
...
@@ -123,6 +128,8 @@ build_and_test:bionic:
-
ldconfig
# update links (shared libraries)
script
:
-
*build_and_test_definition
-
export BUILD_TYPE=release
-
*build_and_test_definition
############ UBUNTU 20.04 TESTS ############
build_and_test:focal
:
...
...
@@ -146,3 +153,31 @@ build_and_test:focal:
-
ldconfig
# update links (shared libraries)
script
:
-
*build_and_test_definition
-
export BUILD_TYPE=release
-
*build_and_test_definition
############ UBUNTU 22.04 TESTS ############
build_and_test:jammy
:
stage
:
build_and_test
image
:
labrobotica/wolf_deps:22.04
cache
:
-
key
:
wolf-jammy
paths
:
-
ci_deps/wolf/
-
key
:
yamlschemacpp-jammy
paths
:
-
ci_deps/yaml_schema_cpp/
-
key
:
imu-jammy
paths
:
-
ci_deps/imu/
before_script
:
-
*preliminaries_definition
-
!reference
[
.install_yamlschemacpp_script
]
-
!reference
[
.install_wolf_script
]
-
*install_wolfimu_definition
-
ldconfig
# update links (shared libraries)
script
:
-
*build_and_test_definition
-
export BUILD_TYPE=release
-
*build_and_test_definition
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment