1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

CI tests: Faster PHP extension installation

Multithreaded compilation enabled
This commit is contained in:
Deltik
2020-03-10 23:43:05 -05:00
parent ea2334643d
commit f929094873

View File

@@ -58,9 +58,6 @@ jobs:
) )
apt-get -t "${DEBIAN_RELEASE}-backports" install -y git zip libzip-dev libpng-dev libjpeg-dev apt-get -t "${DEBIAN_RELEASE}-backports" install -y git zip libzip-dev libpng-dev libjpeg-dev
- name: Install PHP zip extension
run: docker-php-ext-install zip
- name: Configure PHP gd extension with JPEG support - name: Configure PHP gd extension with JPEG support
run: | run: |
if [ $(php -r 'printf(version_compare(PHP_VERSION, "7.4.0", ">=") ? 1 : 0);') = '1' ] if [ $(php -r 'printf(version_compare(PHP_VERSION, "7.4.0", ">=") ? 1 : 0);') = '1' ]
@@ -70,14 +67,10 @@ jobs:
docker-php-ext-configure gd --with-jpeg-dir=/usr docker-php-ext-configure gd --with-jpeg-dir=/usr
fi fi
- name: Install PHP gd extension - name: Install necessary PHP extensions
run: docker-php-ext-install gd run: |
docker-php-ext-install -j "$(nproc)" \
- name: Install PHP pdo_mysql extension zip gd pdo_mysql mysqli
run: docker-php-ext-install pdo_mysql
- name: Install PHP mysqli extension
run: docker-php-ext-install mysqli
- name: PECL install xdebug - name: PECL install xdebug
run: | run: |