File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 45
45
CXX : clang++
46
46
LINK : clang++
47
47
CONFIG_FLAGS : --enable-asan
48
+ ASAN : true
48
49
steps :
49
50
- uses : actions/checkout@v3
50
51
with :
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ const isFreeBSD = process.platform === 'freebsd';
120
120
const isOpenBSD = process . platform === 'openbsd' ;
121
121
const isLinux = process . platform === 'linux' ;
122
122
const isOSX = process . platform === 'darwin' ;
123
+ const isAsan = process . env . ASAN !== undefined ;
123
124
const isPi = ( ( ) => {
124
125
try {
125
126
// Normal Raspberry Pi detection is to find the `Raspberry Pi` string in
@@ -900,6 +901,7 @@ const common = {
900
901
invalidArgTypeHelper,
901
902
isAIX,
902
903
isAlive,
904
+ isAsan,
903
905
isDumbTerminal,
904
906
isFreeBSD,
905
907
isLinux,
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ if (!common.hasCrypto)
9
9
common . skip ( 'missing crypto' ) ;
10
10
if ( ! common . isLinux )
11
11
common . skip ( 'linux only' ) ;
12
+ if ( common . isAsan )
13
+ common . skip ( 'strace does not work well with address sanitizer builds' ) ;
12
14
if ( spawnSync ( 'strace' ) . error !== undefined ) {
13
15
common . skip ( 'missing strace' ) ;
14
16
}
You can’t perform that action at this time.
0 commit comments