Skip to content

tsan

tsan #1327

Workflow file for this run

name: tsan
on:
pull_request:
schedule:
- cron: '36 0 * * *'
jobs:
tsan:
name: tsan
runs-on: ubuntu-22.04
container:
image: osrf/ros:iron-desktop-jammy
steps:
- name: install_clang_and_tools
run: sudo apt update && sudo apt install -y clang clang-tools lld wget python3-pip python3-colcon-coveragepy-result python3-colcon-lcov-result lcov
- name: tsan_build_test
env:
CC: clang
CXX: clang++
uses: ros-tooling/[email protected]
id: tsan_build_test
with:
target-ros2-distro: iron
# build all packages listed in the meta package
package-name: |
rmf_traffic
vcs-repo-file-url: |
https://raw.githubusercontent.com/open-rmf/rmf/main/rmf.repos
colcon-defaults: |
{
"build": {
"mixin": ["tsan"],
"cmake-args": ["-DCMAKE_BUILD_TYPE=Debug"]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- name: Upload failed test results
uses: actions/upload-artifact@v2
if: failure()
with:
name: test-results
path: ros_ws/build/*/test_results/*/*.catch2.xml
- name: upload_test_stream
uses: actions/upload-artifact@v2
with:
name: colcon-test-logs
path: ${{ steps.tsan_build_test.outputs.ros-workspace-directory-name }}/log
if: always()