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