mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-28 22:03:20 +01:00
fix: the review of the renderers PR: physics switches off by default, crashes on exit and at start, renderer, shader and editor fixes
This commit is contained in:
6
.github/workflows/coverage.yml
vendored
6
.github/workflows/coverage.yml
vendored
@@ -83,7 +83,6 @@ jobs:
|
||||
run: |
|
||||
cmake -S . -B build \
|
||||
-DCMAKE_BUILD_TYPE=Debug \
|
||||
-DWITH_BETTER_RENDERER=OFF \
|
||||
-DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DUSE_LTO=OFF \
|
||||
-DCMAKE_CXX_FLAGS="--coverage -O0 -Wno-attributes -fno-inline-functions-called-once" \
|
||||
-DPython3_EXECUTABLE="$(which python3)"
|
||||
@@ -95,15 +94,14 @@ jobs:
|
||||
- name: Run the unit tests
|
||||
run: ./build/tests/unit/eu07_unit_tests
|
||||
|
||||
# the game's own sources only: no submodules, no vendored code, not the tests themselves.
|
||||
# betterRenderer/ is left out for its thirdparty/yaml-cpp, which every target of the game links and so builds here
|
||||
# the game's own sources only: no submodules, no vendored code, not the tests themselves
|
||||
- name: Coverage report
|
||||
run: |
|
||||
# a failure of gcovr fails the step, though its output goes through tee
|
||||
set -o pipefail
|
||||
mkdir -p coverage-report/html
|
||||
gcovr --root . build \
|
||||
--exclude 'ref/' --exclude 'imgui/' --exclude 'stb/' --exclude 'betterRenderer/' \
|
||||
--exclude 'ref/' --exclude 'imgui/' --exclude 'stb/' \
|
||||
--exclude 'tests/' --exclude 'build/' \
|
||||
--gcov-ignore-parse-errors=negative_hits.warn_once_per_file \
|
||||
--gcov-ignore-errors=no_working_dir_found \
|
||||
|
||||
2
.github/workflows/shaders.yml
vendored
2
.github/workflows/shaders.yml
vendored
@@ -15,6 +15,7 @@ on:
|
||||
- 'shaders/**'
|
||||
- 'gl/**'
|
||||
- 'rendering/common/**'
|
||||
- 'rendering/vulkan14/vulkan14bindings.h'
|
||||
- 'ci_shadervalidator/**'
|
||||
- '.github/workflows/shaders.yml'
|
||||
pull_request:
|
||||
@@ -23,6 +24,7 @@ on:
|
||||
- 'shaders/**'
|
||||
- 'gl/**'
|
||||
- 'rendering/common/**'
|
||||
- 'rendering/vulkan14/vulkan14bindings.h'
|
||||
- 'ci_shadervalidator/**'
|
||||
- '.github/workflows/shaders.yml'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user