|
1 |
| -name: Build Precompiled Binaries |
| 1 | +name: Precompile Binaries |
2 | 2 |
|
3 | 3 | on:
|
4 | 4 | push:
|
5 | 5 | branches: [main, develop]
|
6 | 6 | paths:
|
7 | 7 | - .github/workflows/build-binaries.yml
|
8 | 8 | - 'build-configs/**'
|
9 |
| - pull_request: |
10 |
| - branches: [main, develop] |
11 |
| - paths: |
12 |
| - - .github/workflows/build-binaries.yml |
13 |
| - - 'build-configs/**' |
14 | 9 | schedule:
|
15 | 10 | # Build weekly on Sunday at 2 AM UTC to get latest dependencies
|
16 | 11 | - cron: '0 2 * * 0'
|
|
77 | 72 | # Skip some combinations to reduce build time
|
78 | 73 | - os: macos-13
|
79 | 74 | config: api-only
|
80 |
| - - php_version: 8.1.30 |
81 |
| - config: enterprise |
82 | 75 | # WordPress mainly used on Linux
|
83 | 76 | - os: macos-13
|
84 | 77 | config: wordpress
|
@@ -163,10 +156,10 @@ jobs:
|
163 | 156 | # Create configuration based on matrix config
|
164 | 157 | case "${{ matrix.config }}" in
|
165 | 158 | "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" |
167 | 160 | ;;
|
168 | 161 | "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" |
170 | 163 | ;;
|
171 | 164 | "laravel-sqlite")
|
172 | 165 | 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:
|
211 | 204 |
|
212 | 205 | # Configure with platform-specific options
|
213 | 206 | 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 |
216 | 208 | EXTRA_CONFIG=""
|
| 209 | + else |
| 210 | + # On Linux, explicitly enable iconv (usually available in system) |
| 211 | + EXTRA_CONFIG="--with-iconv" |
217 | 212 | fi
|
218 | 213 |
|
219 | 214 | echo "Configuring PHP with:"
|
@@ -365,10 +360,10 @@ jobs:
|
365 | 360 | body: |
|
366 | 361 | 🚀 **PHP Precompiled Binaries**
|
367 | 362 |
|
368 |
| - This release contains precompiled, optimized PHP binaries: |
| 363 | + This release contains precompiled PHP binaries optimized for Laravel and modern PHP frameworks: |
369 | 364 |
|
370 | 365 | - **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 |
372 | 367 | - **Laravel-Optimized Configurations**:
|
373 | 368 | - `laravel-mysql`: Laravel with MySQL/MariaDB (most common)
|
374 | 369 | - `laravel-postgres`: Laravel with PostgreSQL (enterprise)
|
|
0 commit comments