Common API C++ Examples is an example integration of the COVESA / GENIVI CommonAPI C++ framework, along with detailed examples and documentation.
Refer to the documentation here for details.
Clone the repository as:
git clone https://github.com/dmg0345/commonapi_cpp_examplesExample commands to build the source code and run the tests are provided below:
cmake -C "./other/cmake/preload/release.cmake" -S . -B "./.cmake_build"
cmake --build "./.cmake_build" -j --target all
ctest --test-dir "./.cmake_build"Find the base Docker image for the development container at DockerHub. To develop using devcontainers and Visual Studio Code:
docker pull dmg00345/commonapi_cpp_examples:latest
./manage.ps1 runTo generate a release follow the steps below:
- Create a release branch from
developbranch namedrelease/X.Y.Z. - Update version in conf.py file and in versioning.cmake file commit this and other changes to
release/X.Y.Z. - Afterwards, on
release/X.Y.Z, run cmake with-DCFG_TAG:BOOL=ONto tag all files and commit changes. - Create a pull request from
release/X.Y.Ztomaster, with title Release X.Y.Z, and merge it. - When merged in
mastercreate release and tag from Github from merged commit, review production workflow passes. - On
release/X.Y.Z, run cmake with-DCFG_TAG:BOOL=RESTOREto untag all files and commit changes. - Create pull request from
release/X.Y.Ztodevelop, with the title Release X.Y.Z, and merge it. - Do not delete the branch
release/X.Y.Z.