mirror of
https://github.com/tezc/sc.git
synced 2025-01-14 06:43:04 +08:00
42383fd590
* thread & url * fix cirrus * fix thread * fix thread * split actions * test * fix test * fix windows thread * cond & fail-fast
21 lines
503 B
YAML
21 lines
503 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
coverage:
|
|
runs-on: ubuntu-latest
|
|
name: Coverage
|
|
steps:
|
|
- uses: actions/checkout@v2.1.0
|
|
- name: build
|
|
run: |
|
|
sudo apt-get install cmake lcov
|
|
mkdir build-debug && cd build-debug
|
|
cmake .. -DCMAKE_BUILD_TYPE=Coverage
|
|
make -j
|
|
make coverage
|
|
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${{ secrets.CODECOV }} |