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