Skip to content

Commit 1d4c142

Browse files
committed
fix: missing 8.5 in ci/cd
1 parent ad6bd26 commit 1d4c142

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

.github/workflows/job-pg-query-extension.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: ['8.3', '8.4']
16+
php: ['8.3', '8.4', '8.5']
1717

1818
steps:
1919
- uses: actions/checkout@v5

Dockerfile

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,21 @@ RUN apk update && apk add --no-cache \
1515
postgresql-dev \
1616
sqlite-dev \
1717
libpq \
18+
curl \
19+
build-base \
20+
autoconf \
21+
automake \
22+
libtool \
23+
protobuf-dev \
24+
protobuf-c-dev \
1825
&& docker-php-ext-install bcmath gmp pdo_mysql pdo_pgsql pdo_sqlite \
19-
&& git clone --recursive --depth=1 https://github.com/kjdev/php-ext-snappy.git /tmp/php-ext-snappy \
20-
&& cd /tmp/php-ext-snappy \
21-
&& phpize \
22-
&& ./configure \
23-
&& make \
24-
&& make install \
25-
&& docker-php-ext-enable snappy \
26-
&& rm -rf /tmp/php-ext-snappy
26+
&& curl -L https://github.com/php/pie/releases/latest/download/pie.phar -o /usr/local/bin/pie \
27+
&& chmod +x /usr/local/bin/pie \
28+
&& php /usr/local/bin/pie install kjdev/brotli \
29+
&& php /usr/local/bin/pie install kjdev/lz4 \
30+
&& php /usr/local/bin/pie install kjdev/snappy \
31+
&& php /usr/local/bin/pie install kjdev/zstd \
32+
&& php /usr/local/bin/pie install flow-php/pg-query-ext:1.x-dev
2733

2834
# Stage 2: Final Image
2935
FROM ${FLOW_BASE_IMAGE} AS flow

bin/docs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
require __DIR__ . '/../vendor/autoload.php';
1717

1818
if (version_compare(PHP_VERSION, '8.4', '>=')) {
19-
print PHP_EOL . 'This app can be run only on PHP 8.3+' . PHP_EOL;
19+
print PHP_EOL . 'Building docs can be run only on the lowest supported version of PHP: 8.3' . PHP_EOL;
2020

2121
exit(1);
2222
}

0 commit comments

Comments
 (0)