upload build artifacts

This commit is contained in:
Jeff Wang 2020-09-14 09:41:49 -04:00 committed by Jeff Wang
parent bef903b20a
commit bc8c3aab8e
2 changed files with 15 additions and 0 deletions

View File

@ -15,3 +15,15 @@ jobs:
run: $GITHUB_WORKSPACE/steps/compose_run.sh desktop_build_check.sh --rebuild
- name: Calc build
run: $GITHUB_WORKSPACE/steps/compose_run.sh build_calc.sh
- name: ls
run: ls $GITHUB_WORKSPACE
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: stc_rpncalc_artifacts
path: |
${{ github.workspace }}/build/
${{ github.workspace }}/build_qt/lcov/
${{ github.workspace }}/build_qt/decn.c.gcov
${{ github.workspace }}/main.hex
if-no-files-found: error

View File

@ -20,5 +20,8 @@ ninja
src/decn/decn_tests
# get coverage
echo "Running lcov"
lcov --capture --directory src/decn --output-file coverage.info
genhtml coverage.info --output-directory lcov
echo "Running gcov"
gcov -b src/decn/CMakeFiles/decn_cover.dir/decn.c.gcno