Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Add clang build to GitHub action #32

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
matrix:
os: [ubuntu-18.04]
steps:
- uses: ros-tooling/[email protected].6
- uses: ros-tooling/[email protected].10
- uses: ros-tooling/[email protected].11
- uses: ros-tooling/[email protected].11
with:
package-name: system_metrics_collector
colcon-mixin-name: coverage-gcc
Expand All @@ -37,14 +37,10 @@ jobs:
path: ros2_ws/log

build_and_test_asan:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04]
runs-on: ubuntu-18.04
steps:
- uses: ros-tooling/[email protected].6
- uses: ros-tooling/[email protected].10
- uses: ros-tooling/[email protected].11
- uses: ros-tooling/[email protected].11
with:
colcon-mixin-name: asan
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
Expand All @@ -53,3 +49,17 @@ jobs:
with:
name: colcon-logs-${{ matrix.os }}-asan
path: ros2_ws/log

build_and_test_clang:
runs-on: ubuntu-18.04
steps:
- uses: ros-tooling/[email protected]
- uses: ros-tooling/[email protected]
with:
colcon-mixin-name: clang-libcxx
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
package-name: system_metrics_collector
- uses: actions/upload-artifact@master
with:
name: colcon-logs-${{ matrix.os }}-clang-libcxx
path: ros2_ws/log