diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index eeb94564..eae57c05 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -21,8 +21,14 @@ jobs: run: | # Trust the workspace git config --global --add safe.directory '*' + # Pull the latest changes for the native build system git submodule update --init --recursive --remote + + # Build and install dependencies + chmod +x cov_docker_script/build_dependencies.sh + ./cov_docker_script/build_dependencies.sh + # Build component chmod +x build_tools_workflows/cov_docker_script/build_native.sh ./build_tools_workflows/cov_docker_script/build_native.sh ./cov_docker_script/component_config.json "$(pwd)" diff --git a/cov_docker_script/component_config.json b/cov_docker_script/component_config.json index ad17244e..171aa241 100644 --- a/cov_docker_script/component_config.json +++ b/cov_docker_script/component_config.json @@ -6,15 +6,6 @@ }, "native_component": { "name": "webcfg", - "pre_build_commands": [ - { - "command": "chmod +x cov_docker_script/build_dependencies.sh" - }, - { - "description": "Check Cmake version", - "command": "./cov_docker_script/build_dependencies.sh" - } - ], "build": { "type": "cmake", "build_dir": "build",