Revert ext-matrix-tests and test-extensions

This commit is contained in:
crazywhalecc
2025-06-12 01:20:02 +08:00
parent e0734fe848
commit 28e5e584b4
2 changed files with 78 additions and 47 deletions

View File

@@ -15,48 +15,81 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
extension: extension:
- dom,amqp - amqp
- dom,ast - apcu
- dom,brotli - bcmath
- dom,dio - bz2
- dom,ds - calendar
- dom,ev - ctype
- dom,ffi - curl
- dom,gettext - dba
- dom,gmssl - dom
- dom,igbinary - ds
- dom,ldap - event
- dom,libxml - exif
- dom,lz4 - filter
- dom,memcache - fileinfo
- dom,mongodb - ftp
- dom,msgpack - gd
- dom,odbc - gettext
- dom,opentelemetry - gmp
- dom,parallel - iconv
- dom,pdo_odbc - igbinary
- dom,pdo_sqlsrv - imagick
- dom,rar - imap
- dom,rdkafka - intl
- dom,spx - ldap
- dom,sqlsrv - mbstring,mbregex
- dom,ssh2 - memcache
- dom,tidy - mysqli,mysqlnd,pdo_mysql
- dom,uuid - opcache
- dom,uv - openssl
- dom,xhprof - pcntl
- dom,xlswriter - password-argon2
- dom,xz - pcntl
- dom,yac - pdo
- dom,yaml - pgsql,pdo_pgsql
- dom,zstd - phar
- posix
- rar
- protobuf
- readline
- redis
- session
- shmop
- simdjson
- simplexml,xml
- snappy
- soap
- sockets
- sodium
- sqlite3,pdo_sqlite
- sqlsrv
- ssh2
- swoole
- swoole,swoole-hook-pgsql,swoole-hook-mysql,swoole-hook-sqlite
- swow
- sysvmsg,sysvsem,sysvshm
- tidy
- tokenizer
- uuid
- uv
- xhprof
- xlswriter
- xmlwriter,xmlreader
- xsl
- yac
- yaml
- zip
- zlib
- zstd
php-version: php-version:
- "8.4" - "8.4"
operating-system: operating-system:
#- "ubuntu-latest" - "ubuntu-latest"
#- "macos-13" #- "macos-13"
#- "debian-arm64-self-hosted" #- "debian-arm64-self-hosted"
- "macos-15" - "macos-14"
steps: steps:
- name: "Checkout" - name: "Checkout"
@@ -100,9 +133,7 @@ jobs:
- name: "Download sources" - name: "Download sources"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: ./bin/spc download --with-php=${{ matrix.php-version }} --for-extensions=${{ matrix.extension }} --debug --ignore-cache-sources=php-src
./bin/spc download --with-php=${{ matrix.php-version }} --for-extensions=${{ matrix.extension }} --debug --ignore-cache-sources=php-src
./bin/spc download pkg-config --prefer-pre-built --debug
- name: "Build library: ${{ matrix.library }}" - name: "Build library: ${{ matrix.library }}"
run: | run: |
@@ -114,4 +145,4 @@ jobs:
./bin/spc install-pkg upx ./bin/spc install-pkg upx
UPX=--with-upx-pack UPX=--with-upx-pack
fi fi
./bin/spc build --build-embed ${{ matrix.extension }} --debug $UPX --enable-zts ./bin/spc build --build-cli --build-micro --build-fpm ${{ matrix.extension }} --debug $UPX --with-suggested-libs --with-suggested-exts

View File

@@ -21,14 +21,14 @@ $test_php_version = [
// test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available) // test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available)
$test_os = [ $test_os = [
// 'macos-13', 'macos-13',
// 'macos-14', // 'macos-14',
'macos-15', 'macos-15',
// 'ubuntu-latest', // 'ubuntu-latest',
// 'ubuntu-22.04', 'ubuntu-22.04',
// 'ubuntu-24.04', 'ubuntu-24.04',
// 'ubuntu-22.04-arm', 'ubuntu-22.04-arm',
// 'ubuntu-24.04-arm', 'ubuntu-24.04-arm',
// 'windows-latest', // 'windows-latest',
]; ];
@@ -45,7 +45,7 @@ $prefer_pre_built = false;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) { $extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'dom', 'Linux', 'Darwin' => 'dom,mongodb',
'Windows' => 'xlswriter,openssl', 'Windows' => 'xlswriter,openssl',
}; };