Skip to content

CMake, use 'NOT WIN32' instead of 'UNIX' #1306

CMake, use 'NOT WIN32' instead of 'UNIX'

CMake, use 'NOT WIN32' instead of 'UNIX' #1306

Workflow file for this run

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