Skip to content
Snippets Groups Projects
Commit a4992dc8 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

configuring CI

parent b49bb71b
No related branches found
No related tags found
No related merge requests found
############ YAML ANCHORS ############
.build_and_test_template: &build_and_test_definition
- mkdir -pv build
- cd build
- cmake -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON ..
- make -j2
- ctest -j2
- make install
############ UBUNTU 16.04 TESTS ############
wolf_build_and_test_none:xenial:
image: labrobotica/wolf_vision_deps:16.04
except:
- master
before_script:
- apt-get update
script:
- *build_and_test_definition
############ UBUNTU 18.04 TESTS ############
wolf_build_and_test_none:bionic:
image: labrobotica/wolf_vision_deps:18.04
except:
- master
before_script:
- apt-get update
script:
- *build_and_test_definition
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment