-
Simon Wittl authoredSimon Wittl authored
.gitlab-ci.yml 3.18 KiB
stages:
- test
- build
- docu
cache:
- paths:
- /home/install/
rq-pytests:
stage: test
image: ros:humble
before_script:
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_controller
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_ddetection
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_trajectory
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_reconstruction
- rosdep install --from-paths . -y --ignore-src
- colcon build --merge-install
- apt update
- apt install wget
- wget https://bootstrap.pypa.io/get-pip.py
- python3 ./get-pip.py
- pip3 install pytest pytest-cov netCDF4 ros2-numpy Pillow pyometiff
script:
- source ./install/setup.bash
# - python3 -m pytest ./rq_controller/test/ --junitxml=report.xml
build-ros:
stage: build
image: ros:humble
dependencies: [rq-pytests]
before_script:
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_controller
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_ddetection
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_trajectory
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_reconstruction
- rosdep install --from-paths . -y --ignore-src
- colcon build --merge-install
script:
- source ./home/install/setup.bash
artifacts:
when: always
paths:
- install
name: ubuntu_humble
create-docu:
stage: docu
image: ros:humble
dependencies: [rq-pytests]
before_script:
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_controller
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_ddetection
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_trajectory
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_reconstruction
- rosdep install --from-paths . -y --ignore-src
- colcon build --merge-install
- apt update
- apt install wget
- wget https://bootstrap.pypa.io/get-pip.py
- python3 ./get-pip.py
- pip3 install pdoc3