diff --git a/.github/script/install_dependencies.sh b/.github/script/install_dependencies.sh new file mode 100755 index 0000000..5b7b55b --- /dev/null +++ b/.github/script/install_dependencies.sh @@ -0,0 +1,3 @@ +#/usr/bin/bash +cd $HOME +apt-get install curl libcurl4-openssl-dev diff --git a/.github/workflows/industrial_ci_humble_action.yml b/.github/workflows/industrial_ci_humble_action.yml index 9b0f95c..7c1c1d9 100644 --- a/.github/workflows/industrial_ci_humble_action.yml +++ b/.github/workflows/industrial_ci_humble_action.yml @@ -10,6 +10,8 @@ on: jobs: industrial_ci: + env: + BEFORE_BUILD_TARGET_WORKSPACE: '.github/script/install_dependencies.sh' strategy: fail-fast: false matrix: diff --git a/.github/workflows/industrial_ci_iron_action.yml b/.github/workflows/industrial_ci_iron_action.yml index 5979b4e..4e518c0 100644 --- a/.github/workflows/industrial_ci_iron_action.yml +++ b/.github/workflows/industrial_ci_iron_action.yml @@ -10,6 +10,8 @@ on: jobs: industrial_ci: + env: + BEFORE_BUILD_TARGET_WORKSPACE: '.github/script/install_dependencies.sh' strategy: fail-fast: false matrix: diff --git a/.github/workflows/industrial_ci_rolling_action.yml b/.github/workflows/industrial_ci_rolling_action.yml index 37e8a26..9bc91ab 100644 --- a/.github/workflows/industrial_ci_rolling_action.yml +++ b/.github/workflows/industrial_ci_rolling_action.yml @@ -10,6 +10,8 @@ on: jobs: industrial_ci: + env: + BEFORE_BUILD_TARGET_WORKSPACE: '.github/script/install_dependencies.sh' strategy: fail-fast: false matrix: diff --git a/src/schunk_gripper/CMakeLists.txt b/src/schunk_gripper/CMakeLists.txt index a7b7576..2e2fb9b 100644 --- a/src/schunk_gripper/CMakeLists.txt +++ b/src/schunk_gripper/CMakeLists.txt @@ -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 @@ -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