Skip to content

Commit

Permalink
Added script to add sources for taskflow; install taskflow and ompl; …
Browse files Browse the repository at this point in the history
…add taskflow and ompl to rosdep skip list
  • Loading branch information
marip8 committed Mar 27, 2023
1 parent 1607041 commit d311155
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/add_sources.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#! /bin/bash
apt install -y --no-install-recommends software-properties-common
add-apt-repository -y ppa:ros-industrial/ppa
apt update --qq
7 changes: 4 additions & 3 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ jobs:
include:
- job_type: codecov
env:
ADDITIONAL_DEBS: 'taskflow libompl-dev'
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_CODE_COVERAGE=ON"
AFTER_SCRIPT: ''cd $target_ws && export MAKEFLAGS=ccov-all:${MAKEFLAGS:-} && colcon build --packages-select tesseract_command_language tesseract_motion_planners tesseract_task_composer tesseract_time_parameterization
&& bash <(curl -s https://codecov.io/bash) -t ff5e009a-3bc9-47ca-9755-6223c7f9aee1 -s $target_ws/build -f *all-merged.info'
- job_type: clang-tidy
env:
ADDITIONAL_DEBS: 'clang-tidy'
ADDITIONAL_DEBS: 'clang-tidy taskflow libompl-dev'
AFTER_SCRIPT: ""
NOT_TEST_BUILD: true
TARGET_CMAKE_ARGS: "-DTESSERACT_ENABLE_CLANG_TIDY=ON -DTESSERACT_ENABLE_TESTING=ON"
Expand All @@ -34,10 +35,10 @@ jobs:
DOCKER_IMAGE: ${{ env.REGISTRY }}/tesseract-robotics/tesseract:focal-master
UNDERLAY: /root/tesseract-robotics/tesseract_target_ws/install
PREFIX: ${{ github.repository }}_
AFTER_INIT: ''
AFTER_INIT: './.github/workflows/add_sources.sh'
UPSTREAM_WORKSPACE: 'dependencies.rosinstall'
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin"
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin ompl taskflow"

steps:
- name: Checkout repository
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ jobs:
- name: Build workspace
uses: 'marip8/industrial_ci@2f4c8ab919f0aafddd514e586325defabd2911ea'
env:
ADDITIONAL_DEBS: 'taskflow libompl-dev'
ROS_DISTRO: false
DOCKER_IMAGE: ghcr.io/tesseract-robotics/tesseract:${{ matrix.distro }}-master
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin"
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin ompl taskflow"
CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache
AFTER_INIT: ''
AFTER_INIT: './.github/workflows/add_sources.sh'
UPSTREAM_WORKSPACE: 'dependencies.rosinstall'
DOWNSTREAM_WORKSPACE: 'github:tesseract-robotics/tesseract_ros#master github:tesseract-robotics/tesseract_python#master'
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,16 @@ jobs:
- name: Build repository
uses: 'marip8/industrial_ci@2f4c8ab919f0aafddd514e586325defabd2911ea'
env:
ADDITIONAL_DEBS: 'taskflow libompl-dev'
ROS_DISTRO: false
DOCKER_IMAGE: ${{ env.REGISTRY }}/tesseract-robotics/tesseract:${{ matrix.distro }}-${{ env.TESSERACT_VERSION }}
UNDERLAY: /root/tesseract-robotics/tesseract_target_ws/install
CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache
PREFIX: ${{ github.repository }}_
AFTER_INIT: ''
AFTER_INIT: './.github/workflows/add_sources.sh'
UPSTREAM_WORKSPACE: dependencies.rosinstall
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin"
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin ompl taskflow"
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DTESSERACT_ENABLE_TESTING=ON -DTESSERACT_WARNINGS_AS_ERRORS=OFF"
DOCKER_COMMIT: ${{ steps.meta.outputs.tags }}

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/unstable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ jobs:
- name: Build repository
uses: 'marip8/industrial_ci@2f4c8ab919f0aafddd514e586325defabd2911ea'
env:
ADDITIONAL_DEBS: 'taskflow libompl-dev'
ROS_DISTRO: false
DOCKER_IMAGE: ${{ env.REGISTRY }}/tesseract-robotics/tesseract:${{ matrix.distro }}-master
CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache
UNDERLAY: /root/tesseract-robotics/tesseract_target_ws/install
PREFIX: ${{ github.repository }}_
AFTER_INIT: ''
AFTER_INIT: './.github/workflows/add_sources.sh'
UPSTREAM_WORKSPACE: dependencies.rosinstall
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin"
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin ompl taskflow"
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_TESTING=ON"
BEFORE_RUN_TARGET_TEST_EMBED: "ici_with_unset_variables source $BASEDIR/${PREFIX}target_ws/install/setup.bash"

0 comments on commit d311155

Please sign in to comment.