Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
drivers
battery_monitor
Commits
822fb276
Commit
822fb276
authored
Jul 26, 2019
by
Fernando Herrero
Browse files
Update ci yaml trying to make submodules sync
parent
0466b323
Pipeline
#4051
failed with stages
in 8 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
822fb276
image
:
docker.io/alopeziri/labrobotica
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
before_script
:
-
git submodule sync --recursive
-
git submodule update --init --recursive
-
which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
...
...
@@ -22,7 +27,8 @@
-
apt -y install iri-iriutils-dev iri-comm-dev iri-dynamixel-dev
-
mkdir -pv build
-
cd build
-
cmake -D CMAKE_BUILD_TYPE=RELEASE -DCPACK_PACKAGE_VERSION=$CI_COMMIT_TAG ..
-
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCPACK_PACKAGE_VERSION=$CI_COMMIT_TAG ..
-
ls ..
-
make package -j $(nproc)
-
make firmware -j $(nproc)
artifacts
:
...
...
Write
Preview
Supports
Markdown
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