File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,17 @@ jobs:
73
73
asan : true
74
74
name : " LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
75
75
runs-on : ubuntu-22.04
76
- container :
77
- image : ${{ matrix.asan && 'ubuntu:23.04' || null }}
78
76
steps :
79
77
- name : git checkout
80
78
uses : actions/checkout@v4
81
79
- name : apt
82
80
uses : ./.github/actions/apt-x64
81
+ - name : LLVM 16 (ASAN-only)
82
+ if : ${{ matrix.asan }}
83
+ run : |
84
+ wget https://apt.llvm.org/llvm.sh
85
+ chmod u+x llvm.sh
86
+ sudo ./llvm.sh 16
83
87
- name : System info
84
88
run : |
85
89
echo "::group::Show host CPU info"
@@ -110,7 +114,7 @@ jobs:
110
114
configurationParameters : >-
111
115
--${{ matrix.debug && 'enable' || 'disable' }}-debug
112
116
--${{ matrix.zts && 'enable' || 'disable' }}-zts
113
- ${{ matrix.asan && 'CFLAGS="-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address" CC=clang CXX=clang++ --disable-opcache-jit' || '' }}
117
+ ${{ matrix.asan && 'CFLAGS="-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address" CC=clang-16 CXX=clang++-16 --disable-opcache-jit' || '' }}
114
118
skipSlow : ${{ matrix.asan }}
115
119
- name : make
116
120
run : make -j$(/usr/bin/nproc) >/dev/null
You can’t perform that action at this time.
0 commit comments