@@ -93,17 +93,20 @@ jobs:
9393 -
9494 name : Update apt packages
9595 run : docker exec -t imagine-${{ matrix.php-version }} apt-get upgrade -qy
96+ -
97+ name : Fix Let's Encrypt CA certificate
98+ run : docker exec -t -e IPE_KEEP_SYSPKG_CACHE=1 imagine-${{ matrix.php-version }} install-php-extensions @fix_letsencrypt
9699 -
97100 name : Inspect container environment
98101 id : inspect
99102 run : |
100- if docker exec -t imagine-${{ matrix.php-version }} /installer.sh support-avif; then
103+ if docker exec -t imagine-${{ matrix.php-version }} imagine-install support-avif; then
101104 echo 'AVIF is supported'
102105 AVIF_SUPPORT=yes
103106 else
104107 AVIF_SUPPORT=no
105108 fi
106- if docker exec -t imagine-${{ matrix.php-version }} /installer.sh support-heic; then
109+ if docker exec -t imagine-${{ matrix.php-version }} imagine-install support-heic; then
107110 echo 'HEIC is supported'
108111 HEIC_SUPPORT=yes
109112 else
@@ -113,34 +116,37 @@ jobs:
113116 echo "::set-output name=heic-support::$HEIC_SUPPORT"
114117 -
115118 name : Install git
116- run : docker exec -t imagine-${{ matrix.php-version }} /installer.sh git $GIT_VERSION
119+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-install git $GIT_VERSION
117120 -
118121 name : Install libaom ${{ env.LIBAOM_VERSION }}
119122 if : ${{ steps.inspect.outputs.avif-support == 'yes' || steps.inspect.outputs.heic-support == 'yes' }}
120- run : docker exec -t imagine-${{ matrix.php-version }} /installer.sh libaom $LIBAOM_VERSION
123+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-install libaom $LIBAOM_VERSION
121124 -
122125 name : Install libdav1d ${{ env.LIBDAV1D_VERSION }}
123126 if : ${{ steps.inspect.outputs.avif-support == 'yes' }}
124- run : docker exec -t imagine-${{ matrix.php-version }} /installer.sh libdav1d $LIBDAV1D_VERSION
127+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-install libdav1d $LIBDAV1D_VERSION
125128 -
126129 name : Install libyuv
127130 if : ${{ steps.inspect.outputs.avif-support == 'yes' || steps.inspect.outputs.heic-support == 'yes' }}
128- run : docker exec -t imagine-${{ matrix.php-version }} /installer.sh libyuv
131+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-install libyuv
129132 -
130133 name : Install libavif ${{ env.LIBAVIF_VERSION }}
131134 if : ${{ steps.inspect.outputs.avif-support == 'yes' }}
132- run : docker exec -t imagine-${{ matrix.php-version }} /installer.sh libavif $LIBAVIF_VERSION
135+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-install libavif $LIBAVIF_VERSION
133136 -
134137 name : Install libde265 ${{ env.LIBDE265_VERSION }}
135138 if : ${{ steps.inspect.outputs.heic-support == 'yes' }}
136- run : docker exec -t imagine-${{ matrix.php-version }} /installer.sh libde265 $LIBDE265_VERSION
139+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-install libde265 $LIBDE265_VERSION
137140 -
138141 name : Install libheif ${{ env.LIBHEIF_VERSION }}
139142 if : ${{ steps.inspect.outputs.heic-support == 'yes' }}
140- run : docker exec -t imagine-${{ matrix.php-version }} /installer.sh libheif $LIBHEIF_VERSION
143+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-install libheif $LIBHEIF_VERSION
141144 -
142145 name : Install Composer
143146 run : docker exec -t -e IPE_KEEP_SYSPKG_CACHE=1 imagine-${{ matrix.php-version }} install-php-extensions @composer-2
147+ -
148+ name : Install xdebug PHP extension (without enabling it)
149+ run : docker exec -t -e IPE_KEEP_SYSPKG_CACHE=1 -e IPE_DONT_ENABLE=1 imagine-${{ matrix.php-version }} install-php-extensions xdebug
144150 -
145151 name : Install exif PHP extension
146152 run : docker exec -t -e IPE_KEEP_SYSPKG_CACHE=1 imagine-${{ matrix.php-version }} install-php-extensions exif
@@ -149,7 +155,7 @@ jobs:
149155 run : docker exec -t imagine-${{ matrix.php-version }} php --ri exif
150156 -
151157 name : Cleanup
152- run : docker exec -t imagine-${{ matrix.php-version }} /installer.sh cleanup
158+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-install cleanup
153159 -
154160 name : Check container
155161 run : docker container ls -s --filter name=imagine-${{ matrix.php-version }}
@@ -251,7 +257,7 @@ jobs:
251257 -
252258 name : Install GraphicsMagic
253259 if : ${{ contains(format('-{0}-', matrix.extensions), '-gmagick-') }}
254- run : docker exec -t imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }} /installer.sh graphicsmagick ${{ matrix.config.graphicsmagic-version }}
260+ run : docker exec -t imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }} imagine-install graphicsmagick ${{ matrix.config.graphicsmagic-version }}
255261 -
256262 name : Install gmagick PHP extension
257263 if : ${{ contains(format('-{0}-', matrix.extensions), '-gmagick-') }}
@@ -263,7 +269,7 @@ jobs:
263269 -
264270 name : Install ImageMagick
265271 if : ${{ contains(format('-{0}-', matrix.extensions), '-imagick-') }}
266- run : docker exec -t imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }} /installer.sh imagemagick ${{ matrix.config.imagemagick-version }}
272+ run : docker exec -t imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }} imagine-install imagemagick ${{ matrix.config.imagemagick-version }}
267273 -
268274 name : Install imagick PHP extension
269275 if : ${{ contains(format('-{0}-', matrix.extensions), '-imagick-') }}
@@ -281,8 +287,8 @@ jobs:
281287 if : ${{ contains(format('-{0}-', matrix.extensions), '-gd-') }}
282288 run : docker exec -t imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }} php --ri gd
283289 -
284- name : Final cleanup
285- run : docker exec -t imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }} /installer.sh final- cleanup
290+ name : Cleanup
291+ run : docker exec -t imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }} imagine-install cleanup
286292 -
287293 name : Check container
288294 run : docker container ls -s --filter name=imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }}
0 commit comments