2828 branches :
2929 - main
3030jobs :
31- conan -package :
31+ cpp -package :
3232 runs-on : ubuntu-22.04
33- container : ghcr.io/eclipse-velocitas/devcontainer-base-images/cpp:v0.3
34- name : Check Conan package
33+ container : ghcr.io/eclipse-velocitas/devcontainer-base-images/cpp:v0.4
34+ name : Check C++ package
3535 strategy :
3636 matrix :
37- host : ["linux_x86_64 "]
37+ host : ["linux-x86_64 "]
3838 fail-fast : false
3939
40-
4140 steps :
4241 - name : Checkout repository
4342 uses : actions/checkout@v4
@@ -51,14 +50,14 @@ jobs:
5150 sudo apt-get update && sudo apt-get install -y ninja-build clang-format-14 clang-tidy-14 cppcheck
5251 pip3 install -r requirements.txt
5352
54- - name : Create conan package
53+ - name : Test creating the C++ package
5554 run : |
56- conan create --build=missing -pr:b ./.conan/profiles/linux_x86_64_release -pr:h ./.conan/profiles/ ${{ matrix.host }}_release . ci/testing
55+ .scripts/test_package.sh ${{ matrix.host }}
5756
5857 build-and-publish :
5958 runs-on : ubuntu-22.04
6059 name : " Build, Test and Lint"
61- container : ghcr.io/eclipse-velocitas/devcontainer-base-images/cpp:v0.3
60+ container : ghcr.io/eclipse-velocitas/devcontainer-base-images/cpp:v0.4
6261
6362 steps :
6463 - name : Checkout repository
8382 run : build/bin/sdk_utests
8483
8584 - name : Generate coverage report
86- run : cd build && gcovr -r ..
85+ # If 'build' folder is a symlink, assigning pwd to ROOT_DIR makes this independent
86+ # of the number of dirs covered by the symlink
87+ run : ROOT_DIR=$(pwd) && cd build && gcovr -r $ROOT_DIR
8788
8889 - name : Code Coverage Summary Report
8990 uses : irongut/CodeCoverageSummary@v1.3.0
0 commit comments