File tree 1 file changed +52
-0
lines changed 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -158,3 +158,55 @@ jobs:
158
158
-d opcache.jit_buffer_size=16M
159
159
- name : Verify generated files are up to date
160
160
uses : ./.github/actions/verify-generated-files
161
+ PECL :
162
+ runs-on : ubuntu-20.04
163
+ steps :
164
+ - name : git checkout PHP
165
+ uses : actions/checkout@v3
166
+ with :
167
+ path : php
168
+ - name : git checkout apcu
169
+ uses : actions/checkout@v3
170
+ with :
171
+ repository : krakjoe/apcu
172
+ path : apcu
173
+ - name : git checkout xdebug
174
+ uses : actions/checkout@v3
175
+ with :
176
+ repository : xdebug/xdebug
177
+ path : xdebug
178
+ - name : apt
179
+ run : |
180
+ sudo apt-get update
181
+ sudo apt-get install -y --no-install-recommends \
182
+ ccache \
183
+ bison \
184
+ re2c
185
+ - name : ccache
186
+ uses : hendrikmuhs/ccache-action@v1.2
187
+ with :
188
+ key : " ${{github.job}}-${{hashFiles('main/php_version.h')}}"
189
+ - name : build PHP
190
+ run : |
191
+ cd php
192
+ ./buildconf --force
193
+ ./configure \
194
+ --enable-option-checking=fatal \
195
+ --prefix=/opt/php \
196
+ --enable-cli \
197
+ --disable-all \
198
+ --enable-werror
199
+ make -j$(/usr/bin/nproc)
200
+ sudo make install
201
+ - name : build APCu
202
+ run : |
203
+ cd apcu
204
+ /opt/php/bin/phpize
205
+ ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config
206
+ make -j$(/usr/bin/nproc)
207
+ - name : build xdebug
208
+ run : |
209
+ cd xdebug
210
+ /opt/php/bin/phpize
211
+ ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config
212
+ make -j$(/usr/bin/nproc)
You can’t perform that action at this time.
0 commit comments