X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;h=72c342261433baeddcb1c0e859a01784545f9574;hb=6e77ef4f748bdfa40505fc11c0a190e7a40fdb46;hp=9f43ec6e7c8e45f096b723028b73dc4351ccd540;hpb=931b2b0f50e4446a705d2238274914f78b681b6d;p=ric-plt%2Fsdl.git diff --git a/README.md b/README.md index 9f43ec6..72c3422 100644 --- a/README.md +++ b/README.md @@ -37,20 +37,31 @@ directory named `shareddatalayer`. Build-time dependencies: - boost + libboost (system, filesystem, program-options) hiredis + rpm + valgrind + autoconf-archive doxygen (optional) Commands to install dependent packages in Fedora: sudo dnf install boost-devel sudo dnf install hiredis-devel + sudo dnf install rpm + sudo dnf install valgrind + sudo dnf install autoconf-archive sudo dnf install doxygen Commands to install dependent packages in Debian/Ubuntu: - sudo apt install libboost-all-dev + sudo apt install libboost-filesystem-dev + sudo apt install libboost-program-options-dev + sudo apt install libboost-system-dev sudo apt install libhiredis-dev + sudo apt install rpm + sudo apt install valgrind + sudo apt install autoconf-archive sudo apt install doxygen ### Compilation in the source directory @@ -197,6 +208,18 @@ analysis: Open the out/index.html using any web browser. +## Docker Tests + +It's also possible to test SDL compilation, run unit tests and test building of +rpm and Debian packages in a Docker: + + docker build --no-cache -f docker_test/Dockerfile-Test -t sdltest:latest . + +If needed, ready rpm and Debian packages can be copied from Docker to host. In +below example packages are copied to host's /tmp/sdltest-packages directory: + + docker run -v /tmp/sdltest-packages:/export sdltest:latest /export + ## Using SDL in application pod SDL is not yet available in O-RAN-SC PackageCloud.io repository.