11version : 2.1
22
33orbs :
4- codecov : codecov/codecov@1 .0.5
5- coverage-reporter : codacy/coverage-reporter@10.0.3
4+ codecov : codecov/codecov@4 .0.1
5+ coverage-reporter : codacy/coverage-reporter@13.15.1
66
77commands :
88 full_checkout :
@@ -29,22 +29,22 @@ commands:
2929jobs :
3030 build_gcc_debug :
3131 docker :
32- - image : circleci/buildpack-deps:focal
32+ - image : cimg/base:current
3333 steps :
3434 - run :
3535 name : " Install required packages"
3636 command : sudo apt update && sudo apt install -y git cmake lcov gcc g++
3737 - full_checkout
3838 - run :
3939 name : " Configure GCC debug build"
40- command : cmake -H. -B../Debug-build -DINCH_UNIT_TESTS=ON -DINCH_CODE_COVERAGE=ON -DCOVERAGE_COMMAND=/usr/bin/gcov-9 -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_BUILD_TYPE=Debug
40+ command : cmake -H. -B../Debug-build -DINCH_UNIT_TESTS=ON -DINCH_CODE_COVERAGE=ON -DCOVERAGE_COMMAND=/usr/bin/gcov -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_BUILD_TYPE=Debug
4141 - build_and_test :
4242 dir : ../Debug-build
4343 - run :
4444 name : " Generate code coverage metrics"
4545 command : |
4646 cd ../Debug-build
47- lcov --directory . --capture --gcov-tool /usr/bin/gcov-9 --output-file coverage.info
47+ lcov --directory . --capture --gcov-tool /usr/bin/gcov --output-file coverage.info
4848 lcov --remove coverage.info '/usr/*' '*/tests/*' '*/external/*' --output-file coverage.info
4949 lcov --list coverage.info
5050 # Started using the codecov orb for upload
6060
6161 build_gcc_release :
6262 docker :
63- - image : circleci/buildpack-deps:focal
63+ - image : cimg/base:current
6464 steps :
6565 - run : sudo apt update && sudo apt install -y git cmake ninja-build gcc g++
6666 - full_checkout
7070
7171 build_clang_debug :
7272 docker :
73- - image : circleci/buildpack-deps:focal
73+ - image : cimg/base:current
7474 steps :
7575 - run : sudo apt update && sudo apt install -y git cmake ninja-build clang llvm
7676 - full_checkout
8080
8181 build_clang_release :
8282 docker :
83- - image : circleci/buildpack-deps:focal
83+ - image : cimg/base:current
8484 steps :
8585 - run : sudo apt update && sudo apt install -y git cmake ninja-build clang llvm
8686 - full_checkout
0 commit comments