Skip to content

Commit 34b644c

Browse files
committed
Activate UBSan log after configuration
1 parent 53d49aa commit 34b644c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/reusable-ubsan.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
sudo ./llvm.sh 20
3636
- name: UBSAN option setup
3737
run: |
38-
echo "UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1:log_path=${GITHUB_WORKSPACE}/ubsan_log" >> "$GITHUB_ENV"
38+
echo "UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1" >> "$GITHUB_ENV"
3939
echo "CC=clang" >> "$GITHUB_ENV"
4040
echo "CXX=clang++" >> "$GITHUB_ENV"
4141
- name: Add ccache to PATH
@@ -52,6 +52,9 @@ jobs:
5252
--config-cache
5353
--with-undefined-behavior-sanitizer
5454
--with-pydebug
55+
- name: Set up UBSAN log after configuration
56+
run: |
57+
echo "UBSAN_OPTIONS=${UBSAN_OPTIONS}:log_path=${GITHUB_WORKSPACE}/ubsan_log" >> "$GITHUB_ENV"
5558
- name: Build CPython
5659
run: make -j4
5760
- name: Display build info

0 commit comments

Comments
 (0)