File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 7
7
set -x
8
8
9
9
OPCACHE_TLS_TESTS_DEPS="clang gcc binutils-gold lld"
10
+ # compiler-rt provides libclang_rt.asan-x86_64.a for clang20
11
+ # https://pkgs.alpinelinux.org/contents?file=libclang_rt.asan-x86_64.a&path=&name=&branch=v3.22
12
+ ASAN_DEPS="clang20 compiler-rt"
10
13
11
14
apk update -q
12
15
apk add \
52
55
net-snmp-dev \
53
56
openldap-dev \
54
57
unixodbc-dev \
55
- postgresql14 -dev \
58
+ postgresql -dev \
56
59
tzdata \
57
60
musl-locales \
58
61
musl-locales-lang \
59
- $OPCACHE_TLS_TESTS_DEPS
62
+ $OPCACHE_TLS_TESTS_DEPS \
63
+ $ASAN_DEPS
Original file line number Diff line number Diff line change @@ -93,21 +93,16 @@ jobs:
93
93
ALPINE :
94
94
if : inputs.run_alpine
95
95
name : ALPINE_X64_ASAN_UBSAN_DEBUG_ZTS
96
- runs-on : ubuntu-22 .04
96
+ runs-on : ubuntu-24 .04
97
97
container :
98
- image : ' alpine:3.20 .1'
98
+ image : ' alpine:3.22 .1'
99
99
steps :
100
100
- name : git checkout
101
101
uses : actions/checkout@v5
102
102
with :
103
103
ref : ${{ inputs.branch }}
104
104
- name : apk
105
105
uses : ./.github/actions/apk
106
- - name : LLVM 17 (ASAN-only)
107
- # libclang_rt.asan-x86_64.a is provided by compiler-rt, and only for clang17:
108
- # https://pkgs.alpinelinux.org/contents?file=libclang_rt.asan-x86_64.a&path=&name=&branch=v3.20
109
- run : |
110
- apk add clang17 compiler-rt
111
106
- name : System info
112
107
run : |
113
108
echo "::group::Show host CPU info"
@@ -122,8 +117,8 @@ jobs:
122
117
configurationParameters : >-
123
118
CFLAGS="-fsanitize=undefined,address -fno-sanitize=function -DZEND_TRACK_ARENA_ALLOC"
124
119
LDFLAGS="-fsanitize=undefined,address -fno-sanitize=function"
125
- CC=clang-17
126
- CXX=clang++-17
120
+ CC=clang-20
121
+ CXX=clang++-20
127
122
--enable-debug
128
123
--enable-zts
129
124
skipSlow : true # FIXME: This should likely include slow extensions
You can’t perform that action at this time.
0 commit comments