Skip to content

Commit 6465986

Browse files
committed
Fix oci warning
1 parent 761ec91 commit 6465986

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/push.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,15 @@ jobs:
265265
- name: make
266266
run: make -j$(/usr/bin/nproc) >/dev/null
267267
- 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
269277
- name: Setup
270278
run: |
271279
git config --global user.name "Benchmark"
@@ -274,10 +282,6 @@ jobs:
274282
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS wordpress"
275283
mysql -uroot -proot -e "CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'wordpress'; FLUSH PRIVILEGES;"
276284
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
281285
- name: Benchmark
282286
run: php benchmark/benchmark.php true
283287
- name: Store result

0 commit comments

Comments
 (0)