Merge branch 'PHP-7.4'

This commit is contained in:
Nikita Popov 2020-06-12 15:41:20 +02:00
commit cb0fa99174
6 changed files with 12 additions and 22 deletions

View file

@ -20,11 +20,7 @@ jobs:
- script: make -j$(/usr/bin/nproc) >/dev/null - script: make -j$(/usr/bin/nproc) >/dev/null
displayName: 'Make Build' displayName: 'Make Build'
- template: install.yml - template: install.yml
- script: | - template: setup.yml
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
sudo -u postgres psql -c "CREATE DATABASE test;"
displayName: 'Setup'
- template: test.yml - template: test.yml
parameters: parameters:
configurationName: ${{ parameters.configurationName }} configurationName: ${{ parameters.configurationName }}

View file

@ -17,13 +17,7 @@ jobs:
- script: make -j$(/usr/bin/nproc) >/dev/null - script: make -j$(/usr/bin/nproc) >/dev/null
displayName: 'Make Build' displayName: 'Make Build'
- template: install.yml - template: install.yml
- script: | - template: script.yml
set -e
sudo service mysql start
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
sudo -u postgres psql -c "CREATE DATABASE test;"
displayName: 'Setup'
- template: test.yml - template: test.yml
parameters: parameters:
configurationName: ${{ parameters.configurationName }} configurationName: ${{ parameters.configurationName }}

View file

@ -40,7 +40,6 @@ steps:
libpq-dev:i386 \ libpq-dev:i386 \
libreadline-dev:i386 \ libreadline-dev:i386 \
libffi-dev:i386 \ libffi-dev:i386 \
libfreetype6-dev:i386 \
libsodium-dev:i386 \ libsodium-dev:i386 \
${{ parameters.packages }} ${{ parameters.packages }}
displayName: 'APT' displayName: 'APT'

View file

@ -29,7 +29,6 @@ jobs:
--enable-gd \ --enable-gd \
--with-jpeg \ --with-jpeg \
--with-webp \ --with-webp \
--with-freetype \
--with-xpm \ --with-xpm \
--enable-exif \ --enable-exif \
--with-zip \ --with-zip \

View file

@ -17,14 +17,7 @@ jobs:
- script: make -j$(/usr/bin/nproc) >/dev/null - script: make -j$(/usr/bin/nproc) >/dev/null
displayName: 'Make Build' displayName: 'Make Build'
- template: install.yml - template: install.yml
- script: | - template: setup.yml
set -e
sudo service mysql start
sudo service postgresql start
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
sudo -u postgres psql -c "CREATE DATABASE test;"
displayName: 'Setup'
- template: test.yml - template: test.yml
parameters: parameters:
configurationName: ${{ parameters.configurationName }} configurationName: ${{ parameters.configurationName }}

9
azure/setup.yml Normal file
View file

@ -0,0 +1,9 @@
steps:
- script: |
set -e
sudo service mysql start
sudo service postgresql start
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
sudo -u postgres psql -c "CREATE DATABASE test;"
displayName: 'Setup'