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:
7373 asan : true
7474 name : " LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
7575 runs-on : ubuntu-22.04
76- container :
77- image : ${{ matrix.asan && 'ubuntu:23.04' || null }}
7876 steps :
7977 - name : git checkout
8078 uses : actions/checkout@v4
8179 - name : apt
8280 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
8387 - name : System info
8488 run : |
8589 echo "::group::Show host CPU info"
@@ -110,7 +114,7 @@ jobs:
110114 configurationParameters : >-
111115 --${{ matrix.debug && 'enable' || 'disable' }}-debug
112116 --${{ 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' || '' }}
114118 skipSlow : ${{ matrix.asan }}
115119 - name : make
116120 run : make -j$(/usr/bin/nproc) >/dev/null
You can’t perform that action at this time.
0 commit comments