File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 3232 CC : ccache gcc
3333 CXX : ccache g++
3434jobs :
35+ ALPINE :
36+ if : github.repository == 'php/php-src' || github.event_name == 'pull_request'
37+ name : ALPINE_X64_ASAN_UBSAN_DEBUG_ZTS
38+ runs-on : ubuntu-22.04
39+ container :
40+ image : ' alpine:3.20.1'
41+ steps :
42+ - name : git checkout
43+ uses : actions/checkout@v5
44+ - name : apk
45+ uses : ./.github/actions/apk
46+ - name : LLVM 17 (ASAN-only)
47+ # libclang_rt.asan-x86_64.a is provided by compiler-rt, and only for clang17:
48+ # https://pkgs.alpinelinux.org/contents?file=libclang_rt.asan-x86_64.a&path=&name=&branch=v3.20
49+ run : |
50+ apk add clang17 compiler-rt
51+ - name : System info
52+ run : |
53+ echo "::group::Show host CPU info"
54+ lscpu
55+ echo "::endgroup::"
56+ echo "::group::Show installed package versions"
57+ apk list
58+ echo "::endgroup::"
59+ - name : ./configure
60+ uses : ./.github/actions/configure-alpine
61+ with :
62+ configurationParameters : >-
63+ CFLAGS="-fsanitize=undefined,address -fno-sanitize=function -DZEND_TRACK_ARENA_ALLOC"
64+ LDFLAGS="-fsanitize=undefined,address -fno-sanitize=function"
65+ CC=clang-17
66+ CXX=clang++-17
67+ --enable-debug
68+ --enable-zts
69+ skipSlow : true # FIXME: This should likely include slow extensions
70+ - name : make
71+ run : make -j$(/usr/bin/nproc) >/dev/null
72+ - name : make install
73+ uses : ./.github/actions/install-alpine
74+ - name : Test Tracing JIT
75+ uses : ./.github/actions/test-alpine
76+ with :
77+ jitType : tracing
78+ runTestsParameters : >-
79+ --asan -x
80+ -d opcache.enable_cli=1
3581 LINUX_X64 :
3682 if : github.repository == 'php/php-src' || github.event_name == 'pull_request'
3783 services :
You can’t perform that action at this time.
0 commit comments