Skip to content

Commit

Permalink
Remove clang and blacklist
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 569b34a commit ca73e44
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/reusable_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,8 @@ jobs:
steps:
- name: Setup ROS
uses: ros-tooling/setup-ros@v0.7
- name: install_clang_and_tools
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: 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: install_tools
run: sudo apt update && sudo apt install -y ccache wget python3-pip python3-colcon-coveragepy-result python3-colcon-lcov-result lcov
- name: set mixins
id: set_mixins
run: |
Expand All @@ -63,7 +56,7 @@ jobs:
echo 'colcon_defaults={"build":{"mixin":["tsan"],"cmake-args":["-DCMAKE_BUILD_TYPE=Debug"]}}' >> $GITHUB_OUTPUT
;;
*)
echo 'colcon_defaults={"build": {"mixin": ["ccache", "coverage-gcc", "lld"]}}' >> $GITHUB_OUTPUT
echo 'colcon_defaults={"build": {"mixin": ["ccache", "coverage-gcc"]}}' >> $GITHUB_OUTPUT
;;
esac
- uses: actions/cache@v3
Expand All @@ -74,8 +67,6 @@ 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 ca73e44

Please sign in to comment.