mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-26 21:04:25 +08:00
gcov crashes on LLVM-produced coverage on Linux
This commit is contained in:
parent
5cff00e5ea
commit
a6a63a1b50
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -16,6 +16,7 @@ jobs:
|
|||||||
exclude:
|
exclude:
|
||||||
- os: macos
|
- os: macos
|
||||||
compiler: g++
|
compiler: g++
|
||||||
|
name: ${{matrix.os}} (${{matrix.compiler}}, ${{matrix.defines}})
|
||||||
runs-on: ${{matrix.os}}-latest
|
runs-on: ${{matrix.os}}-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@ -26,6 +27,7 @@ jobs:
|
|||||||
make test cxxstd=c++98 defines=${{matrix.defines}} config=debug -j2
|
make test cxxstd=c++98 defines=${{matrix.defines}} config=debug -j2
|
||||||
make test defines=${{matrix.defines}} config=sanitize -j2
|
make test defines=${{matrix.defines}} config=sanitize -j2
|
||||||
- name: make coverage
|
- name: make coverage
|
||||||
|
if: ${{!(matrix.os == 'ubuntu' && matrix.compiler == 'clang++')}} # linux/clang produces coverage info gcov can't parse
|
||||||
run: |
|
run: |
|
||||||
export CXX=${{matrix.compiler}}
|
export CXX=${{matrix.compiler}}
|
||||||
make test defines=${{matrix.defines}} config=coverage -j2
|
make test defines=${{matrix.defines}} config=coverage -j2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user