@@ -17,37 +17,40 @@ jobs:
1717 psv-linux-gcc-build-test-codecov :
1818 name : PSV / Linux gcc 7.5 / Tests / Code coverage
1919 runs-on : ubuntu-20.04
20+ env :
21+ BUILD_TYPE : RelWithDebInfo
22+ CC : gcc-7
23+ CXX : g++-7
2024 steps :
2125 - name : Check out repository
22- uses : actions/checkout@v2
26+ uses : actions/checkout@v3
2327 - name : " C++ Lint checker script"
2428 run : ./scripts/misc/cpplint_ci.sh
2529 shell : bash
2630 - name : Install Ubuntu dependencies
27- run : sudo apt-get update && sudo apt-get install -y libboost-all-dev ccache libssl-dev libcurl4-openssl-dev --no-install-recommends
31+ run : sudo apt-get update && sudo apt-get install -y libboost-all-dev ccache libssl-dev libcurl4-openssl-dev gcc-7 g++-7 --no-install-recommends
2832 shell : bash
2933 - name : Compile project with cmake and ccache
3034 run : gcc --version && ./scripts/linux/psv/build_psv.sh
3135 shell : bash
32- - name : Run unit and integration tests. Report coverage to CodeCov.
36+ - name : Run unit and integration tests
3337 run : ./scripts/linux/psv/test_psv.sh
3438 shell : bash
35- - name : Archive code coverage script
36- uses : actions/upload-artifact@v2
37- with :
38- name : codecov-script
39- path : codecov_upload_bash_*.sh
39+ - name : Upload coverage to Codecov
40+ uses : codecov/codecov-action@v3
4041
4142 psv-linux-gcc-build-no-cache :
4243 name : PSV / Linux gcc 7.5 / OLP_SDK_ENABLE_DEFAULT_CACHE=OFF
4344 runs-on : ubuntu-20.04
4445 env :
4546 BUILD_TYPE : RelWithDebInfo
47+ CC : gcc-7
48+ CXX : g++-7
4649 steps :
4750 - name : Check out repository
4851 uses : actions/checkout@v2
4952 - name : Install Ubuntu dependencies
50- run : sudo apt-get update && sudo apt-get install -y libboost-all-dev libssl-dev libcurl4-openssl-dev --no-install-recommends
53+ run : sudo apt-get update && sudo apt-get install -y libboost-all-dev libssl-dev libcurl4-openssl-dev gcc-7 g++-7 --no-install-recommends
5154 shell : bash
5255 - name : Compile project without cache
5356 run : ./scripts/linux/psv/build_psv_no_cache.sh
0 commit comments