Skip to content

Commit

Permalink
[#12] Add clang build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
orecham committed Dec 12, 2024
1 parent c6f2087 commit 9d1bdce
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: CI
env:
WORKSPACE_DIR: ${{ github.workspace }}
CLANG_COMPILER: "--cmake-args -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
BUILD_ARGS: "--symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo"
TEST_ARGS: "--cmake-args -DBUILD_TESTING=ON"
on:
push:
Expand Down Expand Up @@ -115,4 +113,17 @@ jobs:
run: |
cd $WORKSPACE_DIR
. /opt/ros/rolling/setup.sh
colcon build $CLANG_COMPILER $BUILD_ARGS
colcon build \
--cmake-args \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_TESTING=On \
--symlink-install \
--packages-select \
test_interface_files \
iceoryx_platform\
iceoryx_hoofs \
iceoryx2_cxx \
rmw_iceoryx2_cxx_test_msgs \
rmw_iceoryx2_cxx \

0 comments on commit 9d1bdce

Please sign in to comment.