aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2021-06-27 19:20:27 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2021-06-27 19:20:27 -0700
commit5cff00e5ea893afbd7169d5c046936c5065336b4 (patch)
tree7249a05ac7324c34f1b215171aca344a3e616c45 /.github
parent0de580155d3e6fe4693225e65ffd026b9a152ba6 (diff)
downloadpugixml-5cff00e5ea893afbd7169d5c046936c5065336b4.zip
pugixml-5cff00e5ea893afbd7169d5c046936c5065336b4.tar.gz
pugixml-5cff00e5ea893afbd7169d5c046936c5065336b4.tar.bz2
Fix coverage build to include CXX define
Also it seems like we don't need to restrict coverage build to Linux/clang?
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 56b9554..2d22954 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,8 +26,8 @@ jobs:
make test cxxstd=c++98 defines=${{matrix.defines}} config=debug -j2
make test defines=${{matrix.defines}} config=sanitize -j2
- name: make coverage
- if: ${{matrix.os == 'ubuntu' && matrix.compiler == 'clang++'}}
run: |
+ export CXX=${{matrix.compiler}}
make test defines=${{matrix.defines}} config=coverage -j2
bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov -X search -t ${{secrets.CODECOV_TOKEN}} -B ${{github.ref}}