Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic sanitizer run on CI #486

Merged
merged 2 commits into from
Sep 2, 2021
Merged

Generic sanitizer run on CI #486

merged 2 commits into from
Sep 2, 2021

Conversation

rengolin
Copy link
Contributor

@rengolin rengolin commented Sep 1, 2021

Change USE_ASAN option to SANITIZER, so that we can choose any sanitizer
to run on local builds or CI.

Runs ASAN on both commit CI and nightly, so we can catch errors earlier.

Not running UBSAN yet because some errors in the parser are still
failing and there may be some spurious run-time errors that need fixing
before turning it on.

But from this commit onwards, anyone can use any sanitizer (even
combining them with -DSANITIZER="address,undefined,leak") on a local
build for all programs, not just ASAN on the run-time.

@rengolin rengolin requested a review from mjp41 September 1, 2021 20:04
Change USE_ASAN option to SANITIZER, so that we can choose any sanitizer
to run on local builds or CI.

Runs ASAN on both commit CI and nightly, so we can catch errors earlier.

Not running UBSAN yet because some errors in the parser are still
failing and there may be some spurious run-time errors that need fixing
before turning it on.

But from this commit onwards, anyone can use any sanitizer (even
combining them with -DSANITIZER="address,undefined,leak") on a local
build for all programs, not just ASAN on the run-time.
@rengolin
Copy link
Contributor Author

rengolin commented Sep 1, 2021

Passed nightly on Linux and Windows. Mac is still breaking but that's unrelated to this PR.

Copy link
Member

@mjp41 mjp41 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rengolin rengolin merged commit 4253d85 into master Sep 2, 2021
@rengolin rengolin deleted the sanitizer-builds branch September 2, 2021 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants