Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
wolf
Commits
b5eb5ad2
Commit
b5eb5ad2
authored
2 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
65853b54
No related branches found
Branches containing commit
No related tags found
1 merge request
!448
Draft: Resolve "Implementation of new nodes creation"
Pipeline
#12394
failed
2 years ago
Stage: deploy_plugins
Stage: deploy_ros
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+23
-0
23 additions, 0 deletions
.gitlab-ci.yml
with
23 additions
and
0 deletions
.gitlab-ci.yml
+
23
−
0
View file @
b5eb5ad2
...
@@ -47,6 +47,9 @@ stages:
...
@@ -47,6 +47,9 @@ stages:
# update apt
# update apt
-
apt-get update
-
apt-get update
# create 'ci_deps' folder (if not exists)
-
mkdir -pv ci_deps
.license_header_template
:
&license_header_definition
.license_header_template
:
&license_header_definition
-
cd $CI_PROJECT_DIR
-
cd $CI_PROJECT_DIR
...
@@ -83,6 +86,24 @@ stages:
...
@@ -83,6 +86,24 @@ stages:
-
echo "No changes, nothing to commit!"
-
echo "No changes, nothing to commit!"
-
fi
-
fi
.install_yamlschemacpp_template
:
&install_yamlschemacpp_definition
-
cd ${CI_PROJECT_DIR}/ci_deps
-
if [ -d yaml-schema-cpp ]; then
-
echo "directory yaml-schema-cpp exists"
-
cd yaml-schema-cpp
-
git checkout main
-
git pull
-
else
-
git clone -b main ssh://git@gitlab.iri.upc.edu:2202/labrobotica/algorithms/yaml-schema-cpp.git
-
cd vision
-
fi
-
mkdir -pv build
-
cd build
-
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_TESTS=OFF ..
-
make -j$(nproc)
-
make install
-
ldconfig
.build_and_test_template
:
&build_and_test_definition
.build_and_test_template
:
&build_and_test_definition
-
cd $CI_PROJECT_DIR
-
cd $CI_PROJECT_DIR
-
mkdir -pv build
-
mkdir -pv build
...
@@ -111,6 +132,7 @@ build_and_test:bionic:
...
@@ -111,6 +132,7 @@ build_and_test:bionic:
image
:
labrobotica/wolf_deps:18.04
image
:
labrobotica/wolf_deps:18.04
script
:
script
:
-
*print_variables_definition
-
*print_variables_definition
-
*install_yamlschemacpp_definition
-
*build_and_test_definition
-
*build_and_test_definition
############ UBUNTU 20.04 TESTS ############
############ UBUNTU 20.04 TESTS ############
...
@@ -119,6 +141,7 @@ build_and_test:focal:
...
@@ -119,6 +141,7 @@ build_and_test:focal:
image
:
labrobotica/wolf_deps:20.04
image
:
labrobotica/wolf_deps:20.04
script
:
script
:
-
*print_variables_definition
-
*print_variables_definition
-
*install_yamlschemacpp_definition
-
*build_and_test_definition
-
*build_and_test_definition
############ DEPLOY PLUGINS ANY BRANCY EXCEPT FOR main ############
############ DEPLOY PLUGINS ANY BRANCY EXCEPT FOR main ############
...
...
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