mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
CI tests: Faster PHP extension installation
Multithreaded compilation enabled
This commit is contained in:
15
.github/workflows/test-unit.yml
vendored
15
.github/workflows/test-unit.yml
vendored
@@ -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: |
|
||||||
|
Reference in New Issue
Block a user