Skip to content

Commit

Permalink
Updated CI to be based on tesseract_planning CI docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 committed Oct 24, 2023
1 parent cc947bf commit 4372306
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dependencies.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repositories:
tesseract_qt:
type: git
url: https://github.com/tesseract-robotics/tesseract_qt.git
version: 0.20.0
23 changes: 16 additions & 7 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,19 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: [foxy, humble, rolling]
include:
- os: focal
distro: foxy
- os: jammy
distro: humble
- os: jammy
distro: rolling
env:
CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
PUSH_DOCKER_IMAGE: ${{ github.ref == 'refs/heads/master' || github.event_name == 'release' }}
TESSERACT_VERSION: 0.20
steps:
- uses: actions/checkout@v1

Expand Down Expand Up @@ -84,16 +91,18 @@ jobs:
- uses: 'ros-industrial/industrial_ci@master'
env:
ROS_DISTRO: ${{ matrix.distro }}
DOCKER_IMAGE: ghcr.io/tesseract-robotics/tesseract_planning:${{ matrix.os }}-${{ env.TESSERACT_VERSION }}
BEFORE_INIT: 'apt install ros-${{ matrix.distro }}-ros-base'
BEFORE_INIT_EMBED: 'source /opt/ros/${{ matrix.distro }}/setup.bash'
ROS_REPO: main
UPSTREAM_WORKSPACE: 'dependencies.repos'
ROSDEP_SKIP_KEYS: "catkin taskflow fcl gz-common5 gz-math7 gz-rendering7 qt_advanced_docking"
UPSTREAM_WORKSPACE: '.github/workflows/dependencies.repos'
ROSDEP_SKIP_KEYS: 'catkin taskflow fcl gz-common5 gz-math7 gz-rendering7 qt_advanced_docking'
PARALLEL_TESTS: false
NOT_TEST_BUILD: true
PREFIX: ${{ github.repository }}_
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release -DBUILD_RENDERING=OFF -DBUILD_STUDIO=OFF"
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}"
BEFORE_RUN_TARGET_TEST_EMBED: "source /root/target_ws/install/local_setup.bash"
UPSTREAM_CMAKE_ARGS: '-DCMAKE_BUILD_TYPE=Release -DBUILD_RENDERING=OFF -DBUILD_STUDIO=OFF'
TARGET_CMAKE_ARGS: '-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}'
BEFORE_RUN_TARGET_TEST_EMBED: 'source /root/target_ws/install/local_setup.bash'
AFTER_SCRIPT: 'rm -r $BASEDIR/${PREFIX}upstream_ws/build $BASEDIR/${PREFIX}target_ws/build'
DOCKER_COMMIT: ${{ steps.meta.outputs.tags }}

Expand Down

0 comments on commit 4372306

Please sign in to comment.