From 8250c0044095df121e58e8aa9294139f903f5fce Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Mon, 11 Oct 2021 20:15:11 +0200 Subject: [PATCH] ci: replace generated headers by templates --- .github/workflows/linux-builds.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/linux-builds.yml b/.github/workflows/linux-builds.yml index d662a4b56..e13e6408f 100644 --- a/.github/workflows/linux-builds.yml +++ b/.github/workflows/linux-builds.yml @@ -71,6 +71,13 @@ jobs: '*/src/mock-log.h' \ '/usr/*' \ --output-file coverage.info + + for file in $(ls src/glog/*.h.in); do + name=$(basename ${file}) + name_we=${name%.h.in} + sed -i "s|build_${{matrix.build_type}}/glog/${name_we}.h\$|${file}|g" coverage.info + done + lcov --list coverage.info - name: Upload Coverage to Coveralls