tsan #661
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
name: tsan | |
on: | |
pull_request: | |
schedule: | |
- cron: '7 0 * * *' | |
jobs: | |
tsan: | |
name: tsan | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-jammy-latest | |
steps: | |
- name: deps | |
uses: ros-tooling/setup-ros@v0.3 | |
with: | |
required-ros-distributions: humble | |
- name: install_clang | |
run: sudo apt update && sudo apt install -y clang clang-tools lld | |
- name: tsan_build_test | |
uses: ros-tooling/action-ros-ci@v0.2 | |
id: tsan_build_test | |
env: | |
CC: clang | |
CXX: clang++ | |
with: | |
target-ros2-distro: humble | |
# build all packages listed in the meta package | |
package-name: | | |
rmf_battery | |
vcs-repo-file-url: | | |
https://raw.githubusercontent.com/open-rmf/rmf/main/rmf.repos | |
colcon-defaults: | | |
{ | |
"build": { | |
"mixin": ["tsan", "lld"], | |
"cmake-args": ["-DCMAKE_BUILD_TYPE=Debug"] | |
} | |
} | |
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml | |
- 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() |