File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,15 @@ jobs:
265
265
- name : make
266
266
run : make -j$(/usr/bin/nproc) >/dev/null
267
267
- name : make install
268
- uses : ./.github/actions/install-linux
268
+ run : |
269
+ set -x
270
+ sudo make install
271
+ sudo mkdir -p /etc/php.d
272
+ sudo chmod 777 /etc/php.d
273
+ echo mysqli.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/mysqli.ini
274
+ echo zend_extension=opcache.so >> /etc/php.d/opcache.ini
275
+ echo opcache.enable=1 >> /etc/php.d/opcache.ini
276
+ echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini
269
277
- name : Setup
270
278
run : |
271
279
git config --global user.name "Benchmark"
@@ -274,10 +282,6 @@ jobs:
274
282
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS wordpress"
275
283
mysql -uroot -proot -e "CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'wordpress'; FLUSH PRIVILEGES;"
276
284
mysql -uroot -proot -e "GRANT ALL PRIVILEGES ON *.* TO 'wordpress'@'localhost' WITH GRANT OPTION;"
277
- mkdir -p /etc/php.d
278
- echo zend_extension=opcache.so >> /etc/php.d/opcache.ini
279
- echo opcache.enable=1 >> /etc/php.d/opcache.ini
280
- echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini
281
285
- name : Benchmark
282
286
run : php benchmark/benchmark.php true
283
287
- name : Store result
You can’t perform that action at this time.
0 commit comments