Skip to content

Commit 261f3e8

Browse files
authored
Merge pull request #435 from IMRCLab/feature_colcon_release
Docs: hint to explicitly build in release mode
2 parents 32e87d6 + 0e15e74 commit 261f3e8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/systemtests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: |
3131
source /opt/ros/humble/setup.bash
3232
cd ros2_ws
33-
colcon build --symlink-install
33+
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
3434
3535
- name: Flight test
3636
id: step5

.github/workflows/systemtests_sim.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: |
4949
source /opt/ros/humble/setup.bash
5050
cd ros2_ws
51-
colcon build --symlink-install
51+
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
5252
5353
- name: Flight test
5454
id: step6

docs2/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ First Installation
5151
.. code-block:: bash
5252
5353
cd ../
54-
colcon build --symlink-install
54+
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
5555
5656
.. note::
5757
symlink-install allows you to edit Python and config files without running `colcon build` every time.
@@ -99,7 +99,7 @@ You can update your local copy using the following commands:
9999
git submodule sync
100100
git submodule update --init --recursive
101101
cd ../../
102-
colcon build --symlink-install
102+
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
103103
104104
105105
.. Once you have completed installation,

0 commit comments

Comments
 (0)