DELIA-64517 Add onWiFiSignalStrengthChanged Event to NetworkManger pl… #1
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
name: L1-PersistentStore | |
on: | |
push: | |
paths: | |
- PersistentStore/** | |
pull_request: | |
paths: | |
- PersistentStore/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: rdkservices | |
- name: Install valgrind, coverage, cmake, sqlite | |
run: | | |
sudo apt update | |
sudo apt install -y valgrind lcov cmake libsqlite3-dev | |
- name: Build Thunder | |
working-directory: ${{github.workspace}} | |
run: sh +x rdkservices/.github/workflows/BuildThunder.sh | |
- name: Configure | |
working-directory: ${{github.workspace}} | |
run: cmake -S rdkservices/PersistentStore/l1test -B build/persistentstorel1test -DCMAKE_INSTALL_PREFIX="install/usr" -DCMAKE_CXX_FLAGS="--coverage -Wall -Werror" | |
- name: Build | |
working-directory: ${{github.workspace}} | |
run: cmake --build build/persistentstorel1test --target install | |
- name: Run | |
working-directory: ${{github.workspace}} | |
run: PATH=${PWD}/install/usr/bin:${PATH} LD_LIBRARY_PATH=${PWD}/install/usr/lib:${LD_LIBRARY_PATH} valgrind --tool=memcheck --log-file=valgrind_log --leak-check=yes --show-reachable=yes --track-fds=yes --fair-sched=try persistentstorel1test | |
- name: Generate coverage | |
working-directory: ${{github.workspace}} | |
run: | | |
lcov -c -o coverage.info -d build/persistentstorel1test | |
genhtml -o coverage coverage.info | |
- name: Upload artifacts | |
if: ${{ !env.ACT }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifacts | |
path: | | |
coverage/ | |
valgrind_log | |
if-no-files-found: warn |