CMake, use 'NOT WIN32' instead of 'UNIX' #1306
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: Code Coverage | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
codecov-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install lcov | |
run: | | |
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none | |
sudo apt-get -y install lcov | |
- uses: actions/checkout@v4 | |
- name: Run Code Coverage Build | |
run: ./util/codecov-ci.sh ./build | |
- name: Upload code coverage report to Codecov | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: "./build/coverage-default.info,./build/coverage-no-asm.info" | |
verbose: true | |
fail_ci_if_error: true |