Skip to content

Commit 0e2f9d9

Browse files
committed
#53: Fix deprecated OPcache configuration in CI workflows
* Remove --enable-opcache from configure (OPcache is built-in by default) * Remove -d zend_extension=opcache.so from test commands (legacy syntax) * Update all workflows: build.yml, build-linux.yml, build-macos.yml, build-alpine.yml, build-freebsd.yml * Maintains full OPcache and JIT testing functionality
1 parent 36114a1 commit 0e2f9d9

File tree

5 files changed

+0
-13
lines changed

5 files changed

+0
-13
lines changed

.github/workflows/build-alpine.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ jobs:
224224
run: |
225225
/usr/local/bin/php ../../run-tests.php \
226226
${{ matrix.asan && '--asan' || '' }} \
227-
-d zend_extension=opcache.so \
228227
-d opcache.enable_cli=1 \
229228
-d opcache.jit_buffer_size=64M \
230229
-d opcache.jit=tracing \
@@ -241,7 +240,6 @@ jobs:
241240
run: |
242241
/usr/local/bin/php ../../run-tests.php \
243242
${{ matrix.asan && '--asan' || '' }} \
244-
-d zend_extension=opcache.so \
245243
-d opcache.enable_cli=1 \
246244
-P -q -x -j$(nproc) \
247245
-g FAIL,BORK,LEAK,XLEAK \

.github/workflows/build-freebsd.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ jobs:
167167
--show-diff \
168168
--show-slow 4000 \
169169
--set-timeout 120 \
170-
-d zend_extension=opcache.so \
171170
-d opcache.enable_cli=1 \
172171
ext/async/tests
173172
@@ -180,7 +179,6 @@ jobs:
180179
--show-diff \
181180
--show-slow 4000 \
182181
--set-timeout 120 \
183-
-d zend_extension=opcache.so \
184182
-d opcache.enable_cli=1 \
185183
-d opcache.jit_buffer_size=64M \
186184
-d opcache.jit=tracing \
@@ -195,7 +193,6 @@ jobs:
195193
--show-diff \
196194
--show-slow 4000 \
197195
--set-timeout 120 \
198-
-d zend_extension=opcache.so \
199196
-d opcache.enable_cli=1 \
200197
-d opcache.jit_buffer_size=64M \
201198
-d opcache.jit=function \

.github/workflows/build-linux.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ jobs:
270270
271271
/usr/local/bin/php ../../run-tests.php \
272272
$TEST_PARAMS \
273-
-d zend_extension=opcache.so \
274273
-d opcache.enable_cli=1 \
275274
-P -q -j$PARALLEL_JOBS \
276275
-g FAIL,BORK,LEAK,XLEAK \
@@ -287,7 +286,6 @@ jobs:
287286
working-directory: php-src/ext/async
288287
run: |
289288
/usr/local/bin/php ../../run-tests.php \
290-
-d zend_extension=opcache.so \
291289
-d opcache.enable_cli=1 \
292290
-d opcache.jit_buffer_size=64M \
293291
-d opcache.jit=tracing \
@@ -306,7 +304,6 @@ jobs:
306304
working-directory: php-src/ext/async
307305
run: |
308306
/usr/local/bin/php ../../run-tests.php \
309-
-d zend_extension=opcache.so \
310307
-d opcache.enable_cli=1 \
311308
-d opcache.jit_buffer_size=64M \
312309
-d opcache.jit=function \

.github/workflows/build-macos.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ jobs:
159159
working-directory: php-src/ext/async
160160
run: |
161161
/usr/local/bin/php ../../run-tests.php \
162-
-d zend_extension=opcache.so \
163162
-d opcache.enable_cli=1 \
164163
-d opcache.jit_buffer_size=64M \
165164
-d opcache.jit=tracing \
@@ -175,7 +174,6 @@ jobs:
175174
working-directory: php-src/ext/async
176175
run: |
177176
/usr/local/bin/php ../../run-tests.php \
178-
-d zend_extension=opcache.so \
179177
-d opcache.enable_cli=1 \
180178
-P -q -x -j$(sysctl -n hw.logicalcpu) \
181179
-g FAIL,BORK,LEAK,XLEAK \
@@ -191,7 +189,6 @@ jobs:
191189
working-directory: php-src/ext/async
192190
run: |
193191
/usr/local/bin/php ../../run-tests.php \
194-
-d zend_extension=opcache.so \
195192
-d opcache.enable_cli=1 \
196193
-d opcache.jit_buffer_size=64M \
197194
-d opcache.jit=function \

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ jobs:
113113
./configure \
114114
--enable-zts \
115115
--enable-fpm \
116-
--enable-opcache \
117116
--with-pdo-mysql=mysqlnd \
118117
--with-mysqli=mysqlnd \
119118
--with-pgsql \
@@ -178,7 +177,6 @@ jobs:
178177
run: |
179178
/usr/local/bin/php -v
180179
/usr/local/bin/php ../../run-tests.php \
181-
-d zend_extension=opcache.so \
182180
-d opcache.enable_cli=1 \
183181
-d opcache.jit_buffer_size=64M \
184182
-d opcache.jit=tracing \

0 commit comments

Comments
 (0)