-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[config] configuration yaml generation (#1680)
* Config initialization happens now directly in structure. * Removed eCAL defs except for non configurable defs. * Adapted subscriber configuration to layer::udp as in other structs. * Added yaml creation out of a stringstream while building. * Made yaml-cpp optional again. Added compiler flags depending on ECAL_CORE_CONFIGURATION option to exclude yaml-cpp code.
- Loading branch information
Showing
44 changed files
with
793 additions
and
958 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,20 +91,23 @@ jobs: | |
-DECAL_THIRDPARTY_BUILD_RECYCLE=ON \ | ||
-DECAL_THIRDPARTY_BUILD_TCP_PUBSUB=ON \ | ||
-DECAL_THIRDPARTY_BUILD_QWT=ON \ | ||
-DECAL_THIRDPARTY_BUILD_YAML-CPP=ON \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_PREFIX_PATH=/usr/local/opt/[email protected] \ | ||
-DCMAKE_CXX_STANDARD=17 \ | ||
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \ | ||
-DPython_FIND_STRATEGY=LOCATION \ | ||
-DPython_FIND_REGISTRY=NEVER | ||
sudo mkdir /etc/ecal | ||
sudo cp "$GITHUB_WORKSPACE/ecal/core/cfg/ecal.yaml" /etc/ecal | ||
-DPython_FIND_REGISTRY=NEVER | ||
shell: bash | ||
|
||
- name: Build Release | ||
run: cmake --build . --config Release | ||
working-directory: ${{ runner.workspace }}/_build | ||
|
||
- name: Create config path and copy ecal.yaml | ||
run: | | ||
sudo mkdir /etc/ecal | ||
sudo cp "./ecal/core/cfg/gen/ecal.yaml" /etc/ecal | ||
working-directory: ${{ runner.workspace }}/_build | ||
|
||
# - name: Build Documentation C | ||
# run: cmake --build . --target documentation_c | ||
|
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
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
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
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
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
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
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
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
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
Oops, something went wrong.