mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
CI: Force UBSan errors to be fatal for Serenity tests
The test runner script sets the `halt_on_error=1` `UBSAN_OPTIONS` flag already, this just makes it a compile-time decision. This should alleviate some of the slowness of running on-target tests without hardware acceleration.
This commit is contained in:
parent
44365074fe
commit
1e737e763e
Notes:
sideshowbarker
2024-07-17 18:46:30 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/1e737e763e Pull-request: https://github.com/SerenityOS/serenity/pull/20521 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/kleinesfilmroellchen ✅
2 changed files with 2 additions and 0 deletions
1
.github/workflows/cmake.yml
vendored
1
.github/workflows/cmake.yml
vendored
|
@ -204,6 +204,7 @@ jobs:
|
|||
-DCMAKE_C_COMPILER=gcc-12 \
|
||||
-DCMAKE_CXX_COMPILER=g++-12 \
|
||||
-DENABLE_UNDEFINED_SANITIZER=ON \
|
||||
-DUNDEFINED_BEHAVIOR_IS_FATAL=ON \
|
||||
-DDUMP_REGIONS_ON_CRASH=ON \
|
||||
-DENABLE_PCI_IDS_DOWNLOAD=OFF \
|
||||
-DENABLE_USB_IDS_DOWNLOAD=OFF
|
||||
|
|
|
@ -47,6 +47,7 @@ jobs:
|
|||
-DSERENITY_ARCH=${{ parameters.arch }} \
|
||||
-DSERENITY_TOOLCHAIN=Clang \
|
||||
-DENABLE_UNDEFINED_SANITIZER=ON \
|
||||
-DUNDEFINED_BEHAVIOR_IS_FATAL=ON \
|
||||
-DENABLE_USERSPACE_COVERAGE_COLLECTION=${{ parameters.coverage }} \
|
||||
-DDUMP_REGIONS_ON_CRASH=ON \
|
||||
-DENABLE_PCI_IDS_DOWNLOAD=OFF \
|
||||
|
|
Loading…
Reference in a new issue