@@ -93,17 +93,20 @@ jobs:
93
93
-
94
94
name : Update apt packages
95
95
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
96
99
-
97
100
name : Inspect container environment
98
101
id : inspect
99
102
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
101
104
echo 'AVIF is supported'
102
105
AVIF_SUPPORT=yes
103
106
else
104
107
AVIF_SUPPORT=no
105
108
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
107
110
echo 'HEIC is supported'
108
111
HEIC_SUPPORT=yes
109
112
else
@@ -113,34 +116,37 @@ jobs:
113
116
echo "::set-output name=heic-support::$HEIC_SUPPORT"
114
117
-
115
118
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
117
120
-
118
121
name : Install libaom ${{ env.LIBAOM_VERSION }}
119
122
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
121
124
-
122
125
name : Install libdav1d ${{ env.LIBDAV1D_VERSION }}
123
126
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
125
128
-
126
129
name : Install libyuv
127
130
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
129
132
-
130
133
name : Install libavif ${{ env.LIBAVIF_VERSION }}
131
134
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
133
136
-
134
137
name : Install libde265 ${{ env.LIBDE265_VERSION }}
135
138
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
137
140
-
138
141
name : Install libheif ${{ env.LIBHEIF_VERSION }}
139
142
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
141
144
-
142
145
name : Install Composer
143
146
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
144
150
-
145
151
name : Install exif PHP extension
146
152
run : docker exec -t -e IPE_KEEP_SYSPKG_CACHE=1 imagine-${{ matrix.php-version }} install-php-extensions exif
@@ -149,7 +155,7 @@ jobs:
149
155
run : docker exec -t imagine-${{ matrix.php-version }} php --ri exif
150
156
-
151
157
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
153
159
-
154
160
name : Check container
155
161
run : docker container ls -s --filter name=imagine-${{ matrix.php-version }}
@@ -251,7 +257,7 @@ jobs:
251
257
-
252
258
name : Install GraphicsMagic
253
259
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 }}
255
261
-
256
262
name : Install gmagick PHP extension
257
263
if : ${{ contains(format('-{0}-', matrix.extensions), '-gmagick-') }}
@@ -263,7 +269,7 @@ jobs:
263
269
-
264
270
name : Install ImageMagick
265
271
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 }}
267
273
-
268
274
name : Install imagick PHP extension
269
275
if : ${{ contains(format('-{0}-', matrix.extensions), '-imagick-') }}
@@ -281,8 +287,8 @@ jobs:
281
287
if : ${{ contains(format('-{0}-', matrix.extensions), '-gd-') }}
282
288
run : docker exec -t imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }} php --ri gd
283
289
-
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
286
292
-
287
293
name : Check container
288
294
run : docker container ls -s --filter name=imagine-${{ matrix.config.php-version }}-${{ matrix.extensions }}
0 commit comments