Skip to content

Commit 28e5e58

Browse files
committed
Revert ext-matrix-tests and test-extensions
1 parent e0734fe commit 28e5e58

File tree

2 files changed

+78
-47
lines changed

2 files changed

+78
-47
lines changed

.github/workflows/ext-matrix-tests.yml

Lines changed: 72 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -15,48 +15,81 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
extension:
18-
- dom,amqp
19-
- dom,ast
20-
- dom,brotli
21-
- dom,dio
22-
- dom,ds
23-
- dom,ev
24-
- dom,ffi
25-
- dom,gettext
26-
- dom,gmssl
27-
- dom,igbinary
28-
- dom,ldap
29-
- dom,libxml
30-
- dom,lz4
31-
- dom,memcache
32-
- dom,mongodb
33-
- dom,msgpack
34-
- dom,odbc
35-
- dom,opentelemetry
36-
- dom,parallel
37-
- dom,pdo_odbc
38-
- dom,pdo_sqlsrv
39-
- dom,rar
40-
- dom,rdkafka
41-
- dom,spx
42-
- dom,sqlsrv
43-
- dom,ssh2
44-
- dom,tidy
45-
- dom,uuid
46-
- dom,uv
47-
- dom,xhprof
48-
- dom,xlswriter
49-
- dom,xz
50-
- dom,yac
51-
- dom,yaml
52-
- dom,zstd
18+
- amqp
19+
- apcu
20+
- bcmath
21+
- bz2
22+
- calendar
23+
- ctype
24+
- curl
25+
- dba
26+
- dom
27+
- ds
28+
- event
29+
- exif
30+
- filter
31+
- fileinfo
32+
- ftp
33+
- gd
34+
- gettext
35+
- gmp
36+
- iconv
37+
- igbinary
38+
- imagick
39+
- imap
40+
- intl
41+
- ldap
42+
- mbstring,mbregex
43+
- memcache
44+
- mysqli,mysqlnd,pdo_mysql
45+
- opcache
46+
- openssl
47+
- pcntl
48+
- password-argon2
49+
- pcntl
50+
- pdo
51+
- pgsql,pdo_pgsql
52+
- phar
53+
- posix
54+
- rar
55+
- protobuf
56+
- readline
57+
- redis
58+
- session
59+
- shmop
60+
- simdjson
61+
- simplexml,xml
62+
- snappy
63+
- soap
64+
- sockets
65+
- sodium
66+
- sqlite3,pdo_sqlite
67+
- sqlsrv
68+
- ssh2
69+
- swoole
70+
- swoole,swoole-hook-pgsql,swoole-hook-mysql,swoole-hook-sqlite
71+
- swow
72+
- sysvmsg,sysvsem,sysvshm
73+
- tidy
74+
- tokenizer
75+
- uuid
76+
- uv
77+
- xhprof
78+
- xlswriter
79+
- xmlwriter,xmlreader
80+
- xsl
81+
- yac
82+
- yaml
83+
- zip
84+
- zlib
85+
- zstd
5386
php-version:
5487
- "8.4"
5588
operating-system:
56-
#- "ubuntu-latest"
89+
- "ubuntu-latest"
5790
#- "macos-13"
5891
#- "debian-arm64-self-hosted"
59-
- "macos-15"
92+
- "macos-14"
6093

6194
steps:
6295
- name: "Checkout"
@@ -100,9 +133,7 @@ jobs:
100133
- name: "Download sources"
101134
env:
102135
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103-
run: |
104-
./bin/spc download --with-php=${{ matrix.php-version }} --for-extensions=${{ matrix.extension }} --debug --ignore-cache-sources=php-src
105-
./bin/spc download pkg-config --prefer-pre-built --debug
136+
run: ./bin/spc download --with-php=${{ matrix.php-version }} --for-extensions=${{ matrix.extension }} --debug --ignore-cache-sources=php-src
106137

107138
- name: "Build library: ${{ matrix.library }}"
108139
run: |
@@ -114,4 +145,4 @@ jobs:
114145
./bin/spc install-pkg upx
115146
UPX=--with-upx-pack
116147
fi
117-
./bin/spc build --build-embed ${{ matrix.extension }} --debug $UPX --enable-zts
148+
./bin/spc build --build-cli --build-micro --build-fpm ${{ matrix.extension }} --debug $UPX --with-suggested-libs --with-suggested-exts

src/globals/test-extensions.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121

2222
// test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available)
2323
$test_os = [
24-
// 'macos-13',
24+
'macos-13',
2525
// 'macos-14',
2626
'macos-15',
2727
// 'ubuntu-latest',
28-
// 'ubuntu-22.04',
29-
// 'ubuntu-24.04',
30-
// 'ubuntu-22.04-arm',
31-
// 'ubuntu-24.04-arm',
28+
'ubuntu-22.04',
29+
'ubuntu-24.04',
30+
'ubuntu-22.04-arm',
31+
'ubuntu-24.04-arm',
3232
// 'windows-latest',
3333
];
3434

@@ -45,7 +45,7 @@
4545

4646
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
4747
$extensions = match (PHP_OS_FAMILY) {
48-
'Linux', 'Darwin' => 'dom',
48+
'Linux', 'Darwin' => 'dom,mongodb',
4949
'Windows' => 'xlswriter,openssl',
5050
};
5151

0 commit comments

Comments
 (0)