-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ROS-independent version of ICI (#861)
* Use ROS-independent version of ICI * Added liboctomap-dev as dependency and ignore rosdep install * Use variables for ccache directory * Standardize rosdep skip list * Added clang-tidy dependency * Remove taskflow from rosdep exclusion list * Added FCL 6.1 to dependencies file * Changed from .rosinstall to .repos * Added name to build stage of clang-tidy job * Added catkin to rosdep skip list * Added octomap to source dependencies * Consolidated regular Ubuntu jobs into single matrix job * Set fail-fast false * Simplified nightly workflow * Updated code coverage command * Combined code coverage and clang tidy jobs * Simplify clang format job * Remove bionic build * Support CI build on multiple versions of Windows * Updated job names * Added RICB to windows vcpkg list * Add gtest to windows build * Remove octomap and fcl from vcpkg install * Add custom window dependencies --------- Co-authored-by: Levi Armstrong <levi.armstrong@gmail.com>
- Loading branch information
1 parent
4f04a91
commit 4c6d64a
Showing
16 changed files
with
179 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | ||
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add - | ||
apt update -qq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: DeployDocumentation | ||
name: Deploy Documentation | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: Code Quality | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- 'tesseract**' | ||
- '.github/workflows/code_quality.yml' | ||
- '.clang-tidy' | ||
schedule: | ||
- cron: '0 5 * * *' | ||
|
||
jobs: | ||
ci: | ||
name: ${{ matrix.job_type }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
job_type: [clang-tidy, codecov] | ||
include: | ||
- job_type: clang-tidy | ||
env: | ||
TARGET_CMAKE_ARGS: "-DTESSERACT_ENABLE_CLANG_TIDY=ON -DTESSERACT_ENABLE_TESTING=ON" | ||
NOT_TEST_BUILD: true | ||
- job_type: codecov | ||
env: | ||
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_CODE_COVERAGE=ON -DTESSERACT_WARNINGS_AS_ERRORS=OFF" | ||
AFTER_SCRIPT: 'cd $target_ws && export MAKEFLAGS=ccov-all:${MAKEFLAGS:-} && colcon build --packages-select tesseract_collision tesseract_common tesseract_environment tesseract_geometry tesseract_kinematics tesseract_srdf tesseract_state_solver tesseract_scene_graph tesseract_urdf | ||
&& bash <(curl -s https://codecov.io/bash) -t c4af0da7-9fc3-4d3c-bb2e-6b2523ddd382 -s $target_ws/build -f *all-merged.info' | ||
env: | ||
DOCKER_IMAGE: ubuntu:20.04 | ||
ROS_DISTRO: false | ||
ADDITIONAL_DEBS: 'curl lsb-release liboctomap-dev clang-tidy' | ||
AFTER_INIT: './.github/workflows/add_ros_apt_sources.sh' | ||
UPSTREAM_WORKSPACE: 'dependencies.repos' | ||
ROSDEP_SKIP_KEYS: "fcl opw_kinematics ros_industrial_cmake_boilerplate iwyu octomap catkin" | ||
CCACHE_DIR: "${{ github.workspace }}/${{ matrix.job_type }}/.ccache" | ||
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Free Disk Space | ||
continue-on-error: true | ||
run: | | ||
sudo swapoff -a | ||
sudo rm -f /swapfile | ||
sudo apt clean | ||
docker rmi $(docker image ls -aq) | ||
df -h | ||
- name: Prepare ccache timestamp | ||
id: ccache_cache_timestamp | ||
shell: cmake -P {0} | ||
run: | | ||
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) | ||
message("::set-output name=timestamp::${current_date}") | ||
- name: ccache cache files | ||
continue-on-error: true | ||
uses: actions/cache@v1.1.0 | ||
with: | ||
path: ${{ matrix.job_type }}/.ccache | ||
key: ${{ matrix.job_type }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }} | ||
restore-keys: | | ||
${{ matrix.job_type }}-ccache- | ||
- name: Build repository | ||
uses: 'marip8/industrial_ci@2f4c8ab919f0aafddd514e586325defabd2911ea' | ||
env: ${{ matrix.env }} | ||
|
Oops, something went wrong.