Commit ea3ff785 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Update .gitlab-ci.yml file

parent c352b357
Pipeline #8475 canceled with stages
......@@ -7,27 +7,51 @@ stages: # List of stages for jobs, and their order of execution
- apt-get update -y && apt-get install -y expect
- ./auto_script_wolf
.script_test_template: &script_test_definition
- cd wolf/wolf
- ctest -j$(nproc)
- cd ../imu
- ctest -j$(nproc)
- cd ../gnss
- ctest -j$(nproc)
- cd ../laser
- ctest -j$(nproc)
- cd ../vision
- ctest -j$(nproc)
- cd ../apriltag
- ctest -j$(nproc)
- cd ../bodydynamics
- ctest -j$(nproc)
installation-test-xenial: # This job runs in the build stage, which runs first.
############ JOBS ############
installation-test-xenial:
stage: install
cache: []
image: ubuntu:16.04
script:
- *script_install_definition
- *script_test_definition
installation-test-bionic: # This job runs in the build stage, which runs first.
installation-test-bionic:
stage: install
cache: []
image: ubuntu:18.04
script:
- *script_install_definition
- *script_test_definition
installation-test-focal: # This job runs in the build stage, which runs first.
installation-test-focal:
stage: install
cache: []
image: ubuntu:20.04
script:
- *script_install_definition
- *script_test_definition
lint-test-job: # This job also runs in the test stage.
stage: test # It can run at the same time as unit-test-job (in parallel).
lint-test-job:
stage: test
cache: []
image: ubuntu:16.04
script:
- echo "Linting code... This will take about 10 seconds."
- sleep 10
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment