Fix usage of M_PI on Windows (backport #1036) #1861
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ROS Lint | |
on: | |
pull_request: | |
jobs: | |
ament_lint: | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [cppcheck, copyright, lint_cmake] | |
env: | |
AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
- uses: ros-tooling/[email protected] | |
with: | |
distribution: humble | |
linter: ${{ matrix.linter }} | |
package-name: | |
ackermann_steering_controller | |
admittance_controller | |
bicycle_steering_controller | |
diff_drive_controller | |
effort_controllers | |
force_torque_sensor_broadcaster | |
forward_command_controller | |
gripper_controllers | |
imu_sensor_broadcaster | |
joint_state_broadcaster | |
joint_trajectory_controller | |
position_controllers | |
range_sensor_broadcaster | |
ros2_controllers | |
ros2_controllers_test_nodes | |
rqt_joint_trajectory_controller | |
steering_controllers_library | |
tricycle_controller | |
tricycle_steering_controller | |
velocity_controllers | |
ament_lint_100: | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [cpplint] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
- uses: ros-tooling/[email protected] | |
with: | |
distribution: humble | |
linter: cpplint | |
arguments: "--linelength=100 --filter=-whitespace/newline" | |
package-name: | |
ackermann_steering_controller | |
admittance_controller | |
bicycle_steering_controller | |
diff_drive_controller | |
effort_controllers | |
force_torque_sensor_broadcaster | |
forward_command_controller | |
gripper_controllers | |
imu_sensor_broadcaster | |
joint_state_broadcaster | |
joint_trajectory_controller | |
position_controllers | |
range_sensor_broadcaster | |
ros2_controllers | |
ros2_controllers_test_nodes | |
rqt_joint_trajectory_controller | |
steering_controllers_library | |
tricycle_controller | |
tricycle_steering_controller | |
velocity_controllers |