upload build artifacts
This commit is contained in:
parent
bef903b20a
commit
bc8c3aab8e
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user