Skip to content

Commit 2f05400

Browse files
committed
chore: wip
1 parent 5ed6b3d commit 2f05400

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.github/workflows/build-binaries.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
name: Build Precompiled Binaries
1+
name: Precompile Binaries
22

33
on:
44
push:
55
branches: [main, develop]
66
paths:
77
- .github/workflows/build-binaries.yml
88
- 'build-configs/**'
9-
pull_request:
10-
branches: [main, develop]
11-
paths:
12-
- .github/workflows/build-binaries.yml
13-
- 'build-configs/**'
149
schedule:
1510
# Build weekly on Sunday at 2 AM UTC to get latest dependencies
1611
- cron: '0 2 * * 0'
@@ -77,8 +72,6 @@ jobs:
7772
# Skip some combinations to reduce build time
7873
- os: macos-13
7974
config: api-only
80-
- php_version: 8.1.30
81-
config: enterprise
8275
# WordPress mainly used on Linux
8376
- os: macos-13
8477
config: wordpress
@@ -163,10 +156,10 @@ jobs:
163156
# Create configuration based on matrix config
164157
case "${{ matrix.config }}" in
165158
"laravel-mysql")
166-
EXTENSIONS="--enable-cli --enable-fpm --enable-mbstring --enable-opcache --enable-intl --enable-exif --enable-bcmath --with-pdo-mysql --with-mysqli --with-curl --with-openssl --enable-gd --with-zip --with-readline --with-libxml --with-zlib"
159+
EXTENSIONS="--enable-cli --enable-fpm --enable-mbstring --enable-opcache --enable-intl --enable-exif --enable-bcmath --with-pdo-mysql --with-mysqli --enable-curl --with-openssl --enable-gd --with-zip --with-readline --enable-libxml --with-zlib"
167160
;;
168161
"laravel-postgres")
169-
EXTENSIONS="--enable-cli --enable-fpm --enable-mbstring --enable-opcache --enable-intl --enable-exif --enable-bcmath --with-pdo-pgsql --with-pgsql --with-curl --with-openssl --enable-gd --with-zip --with-readline --with-libxml --with-zlib"
162+
EXTENSIONS="--enable-cli --enable-fpm --enable-mbstring --enable-opcache --enable-intl --enable-exif --enable-bcmath --with-pdo-pgsql --with-pgsql --enable-curl --with-openssl --enable-gd --with-zip --with-readline --enable-libxml --with-zlib"
170163
;;
171164
"laravel-sqlite")
172165
EXTENSIONS="--enable-cli --enable-fpm --enable-mbstring --enable-opcache --enable-intl --enable-exif --enable-bcmath --with-pdo-sqlite --with-sqlite3 --with-curl --with-openssl --enable-gd --with-zip --with-readline --with-libxml --with-zlib"
@@ -211,9 +204,11 @@ jobs:
211204
212205
# Configure with platform-specific options
213206
if [[ "${{ matrix.platform }}" == "darwin" ]]; then
214-
EXTRA_CONFIG="--with-iconv=/usr/local/opt/libiconv"
215-
else
207+
# On macOS, let configure auto-detect iconv from system/Homebrew
216208
EXTRA_CONFIG=""
209+
else
210+
# On Linux, explicitly enable iconv (usually available in system)
211+
EXTRA_CONFIG="--with-iconv"
217212
fi
218213
219214
echo "Configuring PHP with:"
@@ -365,10 +360,10 @@ jobs:
365360
body: |
366361
🚀 **PHP Precompiled Binaries**
367362
368-
This release contains precompiled, optimized PHP binaries:
363+
This release contains precompiled PHP binaries optimized for Laravel and modern PHP frameworks:
369364
370365
- **Platforms**: Linux (x86_64), macOS (ARM64 & Intel)
371-
- **PHP Versions**: 8.4.11,8.3.24,8.2.29,8.1.32 (dynamic)
366+
- **PHP Versions**: 8.4.11, 8.3.14, 8.2.26, 8.1.30
372367
- **Laravel-Optimized Configurations**:
373368
- `laravel-mysql`: Laravel with MySQL/MariaDB (most common)
374369
- `laravel-postgres`: Laravel with PostgreSQL (enterprise)

0 commit comments

Comments
 (0)