fix: update README.md to replace dead link #46
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: Build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cpp-linter/cpp-linter-action@v2 | |
with: | |
style: 'LLVM' | |
tidy-checks: '-*' # disable tidy check | |
lines-changed-only: 'false' | |
- name: Install dependency | |
run: make deps | |
- name: 1. Compile | |
run: make build | |
- name: 2. Run executable | |
run: ./main | |
- name: 3. Generate reports | |
run: | | |
make lcov-report | |
make gcovr-report | |
- name: Upload lcov and gcovr reports | |
if: github.ref == 'refs/heads/master' | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git checkout -b coverage | |
git add --all | |
git commit -m "Upload lcov and gcovr reports" | |
git push -f origin coverage | |