Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -780,16 +780,32 @@ jobs:
env:
CCACHE_COMPRESS: "true"
CCACHE_COMPRESSLEVEL: "6"
run: cmake --build build --parallel $(nproc)
run: cmake --build build --parallel $(nproc) 2>&1 | tee cmake-build.log
- name: Test
env:
SPARK_TEST_EXCLUDE: "LoadTest_"
run: cd build && ./bin/SparkTests 2>&1 | tail -5
run: cd build && ./bin/SparkTests 2>&1 | tee ../test-output.log; tail -5 ../test-output.log
- name: Generate coverage
run: |
lcov --capture --directory build --output-file coverage.info --ignore-errors mismatch,mismatch,gcov,negative --rc geninfo_unexecuted_blocks=1
lcov --remove coverage.info '/usr/*' '*/ThirdParty/*' '*/Tests/*' --output-file coverage.info --ignore-errors unused,negative
lcov --list coverage.info --ignore-errors unused,negative 2>&1 | tee coverage-summary.txt
- name: Extract error summary
if: failure()
run: |
.github/scripts/extract-errors.sh \
"coverage" \
error-summary.json \
cmake-build.log test-output.log

- name: Upload error summary
if: failure()
uses: actions/upload-artifact@v7
with:
name: ci-errors-coverage
path: error-summary.json
retention-days: ${{ env.ERROR_RETENTION_DAYS }}

- name: Post coverage summary to PR
if: github.event_name == 'pull_request'
uses: actions/github-script@v8
Expand Down
255 changes: 0 additions & 255 deletions GameModules/SparkGameEngineEditor/CMakeLists.txt

This file was deleted.

Loading
Loading