Skip to content

Commit

Permalink
Fix CI for missing curl dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanscherzinger committed Apr 17, 2024
1 parent 4222f2f commit 86eae44
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/script/install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#/usr/bin/bash
cd $HOME
apt-get install curl libcurl4-openssl-dev
2 changes: 2 additions & 0 deletions .github/workflows/industrial_ci_humble_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

jobs:
industrial_ci:
env:
BEFORE_BUILD_TARGET_WORKSPACE: '.github/script/install_dependencies.sh'
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/industrial_ci_iron_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

jobs:
industrial_ci:
env:
BEFORE_BUILD_TARGET_WORKSPACE: '.github/script/install_dependencies.sh'
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/industrial_ci_rolling_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

jobs:
industrial_ci:
env:
BEFORE_BUILD_TARGET_WORKSPACE: '.github/script/install_dependencies.sh'
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 0 additions & 2 deletions src/schunk_gripper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ target_compile_definitions(schunk_gripper_driver
# Link libraries to schunk_gripper_driver
target_link_libraries(schunk_gripper_driver
${CURL_LIBRARIES}
-lcurl
)

# Add dependencies for schunk_gripper_driver
Expand All @@ -104,7 +103,6 @@ rclcpp_components_register_nodes(schunk_gripper_driver "SchunkGripperNode")
# Link libraries to schunk_gripper_driver
target_link_libraries(schunk_gripper_driver
${CURL_LIBRARIES}
-lcurl
)

# Install schunk_gripper_example executable
Expand Down

0 comments on commit 86eae44

Please sign in to comment.