mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 03:24:32 -05:00
Add a Linux ThreadSanitizer job to CI
This commit is contained in:
parent
e74bf831c2
commit
8b78ad5fc4
2 changed files with 18 additions and 0 deletions
11
.github/workflows/linux_builds.yml
vendored
11
.github/workflows/linux_builds.yml
vendored
|
@ -9,6 +9,7 @@ env:
|
||||||
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes
|
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes
|
||||||
DOTNET_NOLOGO: true
|
DOTNET_NOLOGO: true
|
||||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||||
|
TSAN_OPTIONS: suppressions=misc/error_suppressions/tsan.txt
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-linux
|
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-linux
|
||||||
|
@ -59,6 +60,16 @@ jobs:
|
||||||
# Skip 2GiB artifact speeding up action.
|
# Skip 2GiB artifact speeding up action.
|
||||||
artifact: false
|
artifact: false
|
||||||
|
|
||||||
|
- name: Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld)
|
||||||
|
cache-name: linux-editor-thread-sanitizer
|
||||||
|
target: editor
|
||||||
|
tests: true
|
||||||
|
sconsflags: dev_build=yes use_tsan=yes use_llvm=yes linker=lld
|
||||||
|
bin: "./bin/godot.linuxbsd.editor.dev.x86_64.llvm.san"
|
||||||
|
build-mono: false
|
||||||
|
# Skip 2GiB artifact speeding up action.
|
||||||
|
artifact: false
|
||||||
|
|
||||||
- name: Template w/ Mono (target=template_release)
|
- name: Template w/ Mono (target=template_release)
|
||||||
cache-name: linux-template-mono
|
cache-name: linux-template-mono
|
||||||
target: template_release
|
target: template_release
|
||||||
|
|
7
misc/error_suppressions/tsan.txt
Normal file
7
misc/error_suppressions/tsan.txt
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# See the below link for an explanation of this file's format
|
||||||
|
# https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
|
||||||
|
|
||||||
|
deadlock:tests/core/templates/test_command_queue.h
|
||||||
|
deadlock:modules/text_server_adv/text_server_adv.cpp
|
||||||
|
deadlock:modules/text_server_fb/text_server_fb.cpp
|
||||||
|
|
Loading…
Add table
Reference in a new issue