Skip to content

Commit

Permalink
add cmake args to 20.04 catkin_make
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasw committed Dec 31, 2023
1 parent c5ffceb commit 466a3f8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ubuntu_20_04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,26 @@ jobs:
source /opt/ros/$ROS_DISTRO/setup.bash
catkin build --no-status
- name: run tests with catkin_make
- name: build with catkin_make
run: |
# TODO(lucasw) catkin_make works better for test output
echo $CMAKE_PREFIX_PATH
mkdir catkin_make_ws
cd catkin_make_ws
ln -s ../install_catkin_ws/src
source /opt/ros/$ROS_DISTRO/setup.bash
catkin_make
catkin_make --cmake-args -DCMAKE_BUILD_TYPE=Release -Wno-deprecated -DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=$DEST/include -DCMAKE_CXX_STANDARD=17
- name: run tests
run: |
cd catkin_make_ws
source devel/setup.bash
catkin_make run_tests
- name: catkin test results
run: |
cd catkin_make_ws
source devel/setup.bash
catkin_test_results
- name: tar up install_catkin_ws
Expand Down

0 comments on commit 466a3f8

Please sign in to comment.