Skip to content

Commit

Permalink
Restore clang, use testing branch for action-ros
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
  • Loading branch information
luca-della-vedova committed May 24, 2024
1 parent 6dca11f commit c433bb1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/reusable_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,17 @@ jobs:
# image: osrf/ros:${{ matrix.ros_distribution }}-desktop-${{ matrix.ubuntu_distribution }}
image: ros:${{ matrix.ros_distribution }}
steps:
- name: create_blacklist
run: |
mkdir -p ${{ github.workspace }}/
touch ${{ github.workspace }}/blacklist.txt
if [[ ${{ inputs.mixin }} == "asan" ]]; then
echo "fun:*Eigen*" > ${{ github.workspace }}/blacklist.txt
fi
- name: Setup ROS
uses: ros-tooling/setup-ros@v0.7
uses: ros-tooling/setup-ros@christophebedard/noble-install-libclang-rt-dev
- name: install_tools
run: sudo apt update && sudo apt install -y ccache lld wget python3-pip python3-colcon-coveragepy-result python3-colcon-lcov-result lcov
run: sudo apt update && sudo apt install -y ccache clang clang-tools lld wget python3-pip python3-colcon-coveragepy-result python3-colcon-lcov-result lcov
- name: set mixins
id: set_mixins
run: |
Expand All @@ -67,6 +74,8 @@ jobs:
uses: ros-tooling/action-ros-ci@v0.3
env:
LANG: en_US.UTF-8
CC: clang -fsanitize-blacklist=${{ github.workspace }}/blacklist.txt
CXX: clang++ -fsanitize-blacklist=${{ github.workspace }}/blacklist.txt
QT_QPA_PLATFORM: offscreen
# We have some new_delete_type_mismatch errors that looks like to come from rclcpp
ASAN_OPTIONS: detect_leaks=0:new_delete_type_mismatch=0
Expand Down

0 comments on commit c433bb1

Please sign in to comment.