mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Revert ext-matrix-tests and test-extensions
This commit is contained in:
parent
e0734fe848
commit
28e5e584b4
113
.github/workflows/ext-matrix-tests.yml
vendored
113
.github/workflows/ext-matrix-tests.yml
vendored
@ -15,48 +15,81 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
extension:
|
||||
- dom,amqp
|
||||
- dom,ast
|
||||
- dom,brotli
|
||||
- dom,dio
|
||||
- dom,ds
|
||||
- dom,ev
|
||||
- dom,ffi
|
||||
- dom,gettext
|
||||
- dom,gmssl
|
||||
- dom,igbinary
|
||||
- dom,ldap
|
||||
- dom,libxml
|
||||
- dom,lz4
|
||||
- dom,memcache
|
||||
- dom,mongodb
|
||||
- dom,msgpack
|
||||
- dom,odbc
|
||||
- dom,opentelemetry
|
||||
- dom,parallel
|
||||
- dom,pdo_odbc
|
||||
- dom,pdo_sqlsrv
|
||||
- dom,rar
|
||||
- dom,rdkafka
|
||||
- dom,spx
|
||||
- dom,sqlsrv
|
||||
- dom,ssh2
|
||||
- dom,tidy
|
||||
- dom,uuid
|
||||
- dom,uv
|
||||
- dom,xhprof
|
||||
- dom,xlswriter
|
||||
- dom,xz
|
||||
- dom,yac
|
||||
- dom,yaml
|
||||
- dom,zstd
|
||||
- amqp
|
||||
- apcu
|
||||
- bcmath
|
||||
- bz2
|
||||
- calendar
|
||||
- ctype
|
||||
- curl
|
||||
- dba
|
||||
- dom
|
||||
- ds
|
||||
- event
|
||||
- exif
|
||||
- filter
|
||||
- fileinfo
|
||||
- ftp
|
||||
- gd
|
||||
- gettext
|
||||
- gmp
|
||||
- iconv
|
||||
- igbinary
|
||||
- imagick
|
||||
- imap
|
||||
- intl
|
||||
- ldap
|
||||
- mbstring,mbregex
|
||||
- memcache
|
||||
- mysqli,mysqlnd,pdo_mysql
|
||||
- opcache
|
||||
- openssl
|
||||
- pcntl
|
||||
- password-argon2
|
||||
- pcntl
|
||||
- pdo
|
||||
- pgsql,pdo_pgsql
|
||||
- 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:
|
||||
- "8.4"
|
||||
operating-system:
|
||||
#- "ubuntu-latest"
|
||||
- "ubuntu-latest"
|
||||
#- "macos-13"
|
||||
#- "debian-arm64-self-hosted"
|
||||
- "macos-15"
|
||||
- "macos-14"
|
||||
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
@ -100,9 +133,7 @@ jobs:
|
||||
- name: "Download sources"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
./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
|
||||
run: ./bin/spc download --with-php=${{ matrix.php-version }} --for-extensions=${{ matrix.extension }} --debug --ignore-cache-sources=php-src
|
||||
|
||||
- name: "Build library: ${{ matrix.library }}"
|
||||
run: |
|
||||
@ -114,4 +145,4 @@ jobs:
|
||||
./bin/spc install-pkg upx
|
||||
UPX=--with-upx-pack
|
||||
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
|
||||
|
||||
@ -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-13',
|
||||
// 'macos-14',
|
||||
'macos-15',
|
||||
// 'ubuntu-latest',
|
||||
// 'ubuntu-22.04',
|
||||
// 'ubuntu-24.04',
|
||||
// 'ubuntu-22.04-arm',
|
||||
// 'ubuntu-24.04-arm',
|
||||
'ubuntu-22.04',
|
||||
'ubuntu-24.04',
|
||||
'ubuntu-22.04-arm',
|
||||
'ubuntu-24.04-arm',
|
||||
// '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`).
|
||||
$extensions = match (PHP_OS_FAMILY) {
|
||||
'Linux', 'Darwin' => 'dom',
|
||||
'Linux', 'Darwin' => 'dom,mongodb',
|
||||
'Windows' => 'xlswriter,openssl',
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user