CI: Run --sanitize on Ubuntu 22.04 in prep for eventual 24.04. (#4782)

This commit is contained in:
Wilson Snyder 2023-12-27 15:01:17 -05:00 committed by GitHub
parent 17b6ce1379
commit 40f0378136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -90,8 +90,8 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
export VERILATOR_TEST_NO_GPROF=1 # gprof is a bit different on FreeBSD, disable
fi
# Run sanitize on Ubuntu 20.04 only
[ "$CI_RUNS_ON" = 'ubuntu-20.04' ] && [ "$CI_M32" = "" ] && sanitize='--sanitize' || sanitize=''
# Run sanitize on Ubuntu 22.04 only
[ "$CI_RUNS_ON" = 'ubuntu-22.04' ] && [ "$CI_M32" = "" ] && sanitize='--sanitize' || sanitize=''
# Run the specified test
ccache -z

View File

@ -11,6 +11,8 @@ use IO::File;
scenarios(vlt => 1);
$Self->{sanitize} = 0; # GCC takes too long otherwise
sub gen {
my $filename = shift;
my $n = shift;