File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -140,3 +140,55 @@ jobs:
140
140
-d opcache.jit_buffer_size=16M
141
141
- name : Verify generated files are up to date
142
142
uses : ./.github/actions/verify-generated-files
143
+ PECL :
144
+ runs-on : ubuntu-20.04
145
+ steps :
146
+ - name : git checkout PHP
147
+ uses : actions/checkout@v3
148
+ with :
149
+ path : php
150
+ - name : git checkout apcu
151
+ uses : actions/checkout@v3
152
+ with :
153
+ repository : krakjoe/apcu
154
+ path : apcu
155
+ - name : git checkout xdebug
156
+ uses : actions/checkout@v3
157
+ with :
158
+ repository : xdebug/xdebug
159
+ path : xdebug
160
+ - name : apt
161
+ run : |
162
+ sudo apt-get update
163
+ sudo apt-get install -y --no-install-recommends \
164
+ ccache \
165
+ bison \
166
+ re2c
167
+ - name : ccache
168
+ uses :
hendrikmuhs/[email protected]
169
+ with :
170
+ key : " ${{github.job}}-${{hashFiles('main/php_version.h')}}"
171
+ - name : build PHP
172
+ run : |
173
+ cd php
174
+ ./buildconf --force
175
+ ./configure \
176
+ --enable-option-checking=fatal \
177
+ --prefix=/opt/php \
178
+ --enable-cli \
179
+ --disable-all \
180
+ --enable-werror
181
+ make -j$(/usr/bin/nproc)
182
+ sudo make install
183
+ - name : build APCu
184
+ run : |
185
+ cd apcu
186
+ /opt/php/bin/phpize
187
+ ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config
188
+ make -j$(/usr/bin/nproc)
189
+ - name : build xdebug
190
+ run : |
191
+ cd xdebug
192
+ /opt/php/bin/phpize
193
+ ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config
194
+ make -j$(/usr/bin/nproc)
You can’t perform that action at this time.
0 commit comments