Skip to content

Commit

Permalink
Port outdated actions
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed May 30, 2024
1 parent d9e55c6 commit 4cf65ed
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/asan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
rmf_building_sim_gz_plugins
rmf_robot_sim_common
rmf_robot_sim_gz_plugins
dist-matrix: '[{"ros_distribution": "humble", "ubuntu_distribution": "jammy"}]'
dist-matrix: '[{"ros_distribution": "rolling", "ubuntu_distribution": "noble"}]'
2 changes: 1 addition & 1 deletion .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
docker_image: ['ros:humble-ros-base']
docker_image: ['ros:jazzy-ros-base']
container:
image: ${{ matrix.docker_image }}
steps:
Expand Down
51 changes: 11 additions & 40 deletions .github/workflows/tsan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,14 @@ on:

jobs:
tsan:
name: tsan
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
steps:
- name: deps
uses: ros-tooling/[email protected]
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/[email protected]
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_building_sim_gz_plugins
rmf_robot_sim_common
rmf_robot_sim_gz_plugins
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()
name: rmf_simulation
uses: open-rmf/rmf_ci_templates/.github/workflows/reusable_build.yaml@main
with:
# NOTE: Avoid adding comments in the packages lines, this can break some of the called scripts in github actions
packages: |
rmf_building_sim_gz_plugins
rmf_robot_sim_common
rmf_robot_sim_gz_plugins
# Foxy and Galactic are deprecated for this package because of the dependency to old gazebo packages
dist-matrix: '[{"ros_distribution": "rolling", "ubuntu_distribution": "noble"}]'
mixin: tsan

0 comments on commit 4cf65ed

Please sign in to comment.