Skip to content

Commit 72e7a9f

Browse files
authored
Update build-php-unix.yml
1 parent ae48d8c commit 72e7a9f

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

.github/workflows/build-php-unix.yml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,24 @@ jobs:
2222
- "macos-13"
2323
- "ubuntu-24.04-arm"
2424
- "macos-14"
25+
- "ubuntu-22.04"
26+
- "ubuntu-22.04-arm"
2527
combination:
2628
- minimal
2729
- bulk
2830
- common
31+
- gnu-bulk
32+
exclude:
33+
- { runner: "ubuntu-latest", combination: "gnu-bulk" }
34+
- { runner: "ubuntu-24.04-arm", combination: "gnu-bulk" }
35+
- { runner: "macos-13", combination: "gnu-bulk" }
36+
- { runner: "macos-14", combination: "gnu-bulk" }
37+
- { runner: "ubuntu-22.04", combination: "minimal" }
38+
- { runner: "ubuntu-22.04", combination: "bulk" }
39+
- { runner: "ubuntu-22.04", combination: "common" }
40+
- { runner: "ubuntu-22.04-arm", combination: "minimal" }
41+
- { runner: "ubuntu-22.04-arm", combination: "bulk" }
42+
- { runner: "ubuntu-22.04-arm", combination: "common" }
2943
steps:
3044
- name: "Process env string"
3145
id: process-env
@@ -34,15 +48,12 @@ jobs:
3448
case "${{ matrix.combination }}" in
3549
minimal)
3650
echo "EXTENSIONS=pcntl,posix,mbstring,filter,tokenizer,phar" >> "$GITHUB_OUTPUT"
37-
echo "DEPLOY_TARGET=${{ secrets.DEPLOY_SERVER_TARGET_MINIMAL }}" >> "$GITHUB_OUTPUT"
3851
;;
3952
common)
4053
echo "EXTENSIONS=bcmath,bz2,calendar,ctype,curl,dom,exif,fileinfo,filter,ftp,gd,gmp,iconv,xml,mbstring,mbregex,mysqlnd,openssl,pcntl,pdo,pdo_mysql,pdo_sqlite,phar,posix,redis,session,simplexml,soap,sockets,sqlite3,tokenizer,xmlwriter,xmlreader,zlib,zip" >> "$GITHUB_OUTPUT"
41-
echo "DEPLOY_TARGET=${{ secrets.DEPLOY_SERVER_TARGET }}" >> "$GITHUB_OUTPUT"
4254
;;
43-
bulk)
55+
bulk|gnu-bulk)
4456
echo "EXTENSIONS=apcu,bcmath,bz2,calendar,ctype,curl,dba,dom,event,exif,fileinfo,filter,ftp,gd,gmp,iconv,imagick,imap,intl,mbregex,mbstring,mysqli,mysqlnd,opcache,openssl,opentelemetry,pcntl,pdo,pdo_mysql,pgsql,phar,posix,protobuf,readline,redis,session,shmop,simplexml,soap,sockets,sodium,sqlite3,swoole,swoole-hook-mysql,swoole-hook-pgsql,swoole-hook-sqlite,sysvmsg,sysvsem,sysvshm,tokenizer,xml,xmlreader,xmlwriter,xsl,zip,zlib" >> "$GITHUB_OUTPUT"
45-
echo "DEPLOY_TARGET=${{ secrets.DEPLOY_SERVER_TARGET_BULK }}" >> "$GITHUB_OUTPUT"
4657
;;
4758
esac
4859
@@ -57,6 +68,16 @@ jobs:
5768
echo "ARCH=aarch64" >> "$GITHUB_OUTPUT"
5869
echo CMD="bin/spc-alpine-docker" >> "$GITHUB_OUTPUT"
5970
;;
71+
ubuntu-22.04)
72+
echo "OS=linux" >> "$GITHUB_OUTPUT"
73+
echo "ARCH=x86_64" >> "$GITHUB_OUTPUT"
74+
echo CMD="bin/spc-gnu-docker" >> "$GITHUB_OUTPUT"
75+
;;
76+
ubuntu-22.04-arm)
77+
echo "OS=linux" >> "$GITHUB_OUTPUT"
78+
echo "ARCH=aarch64" >> "$GITHUB_OUTPUT"
79+
echo CMD="bin/spc-gnu-docker" >> "$GITHUB_OUTPUT"
80+
;;
6081
windows-2019)
6182
echo "OS=windows" >> "$GITHUB_OUTPUT"
6283
echo "ARCH=x86_64" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)