update ci
This commit is contained in:
parent
736879e91b
commit
dcb866c1f1
|
@ -11,7 +11,7 @@ stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- eval
|
- eval
|
||||||
- eval_results
|
- results
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
# template for docker builds with ccache
|
# template for docker builds with ccache
|
||||||
|
@ -88,11 +88,25 @@ stages:
|
||||||
- basalt_vio --help
|
- basalt_vio --help
|
||||||
- basalt_vio_sim --help
|
- basalt_vio_sim --help
|
||||||
|
|
||||||
|
# template to evaluate on EuRoC sequences
|
||||||
|
.eval_euroc_template: &eval_euroc_definition
|
||||||
|
stage: eval
|
||||||
|
parallel: 10
|
||||||
|
tags: [docker, dataset-eval]
|
||||||
|
variables:
|
||||||
|
GIT_STRATEGY: none
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- scripts/eval_full/eval_results/*
|
||||||
|
expire_in: 1 week
|
||||||
|
script:
|
||||||
|
- dpkg -i deb_bionic/*.deb
|
||||||
|
- cd scripts/eval_full
|
||||||
|
- ./run_evaluations.sh
|
||||||
|
|
||||||
bionic-release-compile:
|
bionic-release-compile:
|
||||||
<<: *prepare_docker_definition
|
<<: *prepare_docker_definition
|
||||||
<<: *compile_test_package_definition
|
<<: *compile_test_package_definition
|
||||||
only:
|
|
||||||
- master
|
|
||||||
variables:
|
variables:
|
||||||
CXX_MARCH: 'sandybridge'
|
CXX_MARCH: 'sandybridge'
|
||||||
DEB_DIR: deb_bionic
|
DEB_DIR: deb_bionic
|
||||||
|
@ -129,6 +143,8 @@ bionic-relwithdebinfo-compile:
|
||||||
<<: *compile_test_package_definition
|
<<: *compile_test_package_definition
|
||||||
variables:
|
variables:
|
||||||
BUILD_TYPE: CiRelWithDebInfo
|
BUILD_TYPE: CiRelWithDebInfo
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
elcapitan-relwithdebinfo-compile:
|
elcapitan-relwithdebinfo-compile:
|
||||||
<<: *compile_test_definition
|
<<: *compile_test_definition
|
||||||
|
@ -176,33 +192,25 @@ xenial-test:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
|
|
||||||
# evaluate on EuRoC sequences
|
# evaluate on EuRoC sequences
|
||||||
eval_euroc:
|
eval_euroc_master:
|
||||||
stage: eval
|
<<: *eval_euroc_definition
|
||||||
parallel: 10
|
|
||||||
tags: [docker, dataset-eval]
|
|
||||||
variables:
|
|
||||||
GIT_STRATEGY: none
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
artifacts:
|
|
||||||
paths:
|
# evaluate on EuRoC sequences
|
||||||
- scripts/eval_full/eval_results/*
|
eval_euroc:
|
||||||
expire_in: 1 week
|
<<: *eval_euroc_definition
|
||||||
script:
|
when: manual
|
||||||
- dpkg -i deb_bionic/*.deb
|
allow_failure: false
|
||||||
- cd scripts/eval_full
|
|
||||||
- ./run_evaluations.sh
|
|
||||||
|
|
||||||
# aggregate results for all EuRoC sequences
|
# aggregate results for all EuRoC sequences
|
||||||
gen_results_euroc:
|
gen_results_euroc:
|
||||||
stage: eval_results
|
stage: results
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
when: on_success
|
when: on_success
|
||||||
only:
|
|
||||||
- master
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- euroc_results.txt
|
- euroc_results.txt
|
||||||
|
|
Loading…
Reference in New Issue