mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
CI: Run --sanitize on Ubuntu 22.04 in prep for eventual 24.04. (#4782)
This commit is contained in:
parent
17b6ce1379
commit
40f0378136
@ -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
|
export VERILATOR_TEST_NO_GPROF=1 # gprof is a bit different on FreeBSD, disable
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run sanitize on Ubuntu 20.04 only
|
# Run sanitize on Ubuntu 22.04 only
|
||||||
[ "$CI_RUNS_ON" = 'ubuntu-20.04' ] && [ "$CI_M32" = "" ] && sanitize='--sanitize' || sanitize=''
|
[ "$CI_RUNS_ON" = 'ubuntu-22.04' ] && [ "$CI_M32" = "" ] && sanitize='--sanitize' || sanitize=''
|
||||||
|
|
||||||
# Run the specified test
|
# Run the specified test
|
||||||
ccache -z
|
ccache -z
|
||||||
|
@ -11,6 +11,8 @@ use IO::File;
|
|||||||
|
|
||||||
scenarios(vlt => 1);
|
scenarios(vlt => 1);
|
||||||
|
|
||||||
|
$Self->{sanitize} = 0; # GCC takes too long otherwise
|
||||||
|
|
||||||
sub gen {
|
sub gen {
|
||||||
my $filename = shift;
|
my $filename = shift;
|
||||||
my $n = shift;
|
my $n = shift;
|
||||||
|
Loading…
Reference in New Issue
Block a user