Add cflite and document normalize path (#280) #754
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: uvwasi coverage | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test Coverage | |
run: | | |
sudo apt update && sudo apt install lcov -y | |
cmake -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug . | |
cmake --build . --target check | |
cd CMakeFiles | |
lcov --directory . --capture --output-file coverage.info | |
genhtml coverage.info |