mirror of
https://github.com/php/php-src.git
synced 2026-03-30 12:13:02 +02:00
we are not running database tests on macos, there is no need to install mysql or start pg
This commit is contained in:
@@ -9,8 +9,6 @@ steps:
|
||||
automake \
|
||||
libtool \
|
||||
bison \
|
||||
mysql \
|
||||
postgresql \
|
||||
re2c \
|
||||
pkg-config \
|
||||
krb5 \
|
||||
@@ -31,6 +29,7 @@ steps:
|
||||
gmp \
|
||||
tidyp \
|
||||
libxml2\
|
||||
openssl@1.1
|
||||
openssl@1.1 \
|
||||
postgresql
|
||||
brew link icu4c gettext --force
|
||||
displayName: 'brew'
|
||||
|
||||
@@ -69,18 +69,7 @@ jobs:
|
||||
displayName: 'Make Build'
|
||||
- script: |
|
||||
sudo make install
|
||||
sudo mkdir /etc/php.d
|
||||
sudo chmod 777 /etc/php.d
|
||||
echo mysqli.default_socket=/tmp/mysql.sock > /etc/php.d/mysqli.ini
|
||||
echo pdo_mysql.default_socket=/tmp/mysql.sock > /etc/php.d/pdo_mysql.ini
|
||||
displayName: 'Install Build'
|
||||
- script: |
|
||||
brew services start postgresql
|
||||
createdb `whoami`
|
||||
createuser -s postgres
|
||||
psql -U postgres -c "ALTER USER postgres PASSWORD 'postgres';"
|
||||
psql -U postgres -c "CREATE DATABASE test;"
|
||||
displayName: 'Setup'
|
||||
- template: test.yml
|
||||
parameters:
|
||||
configurationName: ${{ parameters.configurationName }}
|
||||
|
||||
Reference in New Issue
Block a user