Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
c90169d
完善 upgrade php version to 8.1.29 (#752)
jingjingxyk Aug 27, 2024
b5c6070
update setup-php-runtime.sh (#751)
jingjingxyk Aug 27, 2024
1ddd818
disable swoolg pg test (#755)
jingjingxyk Aug 30, 2024
8e31b8a
v6 cygwin 环境禁用 opcache (#760)
jingjingxyk Sep 9, 2024
79f211a
默认下载的 swoole-cli 版本由 v5.13.0 升级为 v5.1.4.0 (#759)
jingjingxyk Sep 9, 2024
a51e782
Feature test swoole pg (#758)
jingjingxyk Sep 9, 2024
500ee96
Optimize code
matyhtf Sep 9, 2024
172c764
Optimize cygwin scripts
matyhtf Sep 9, 2024
5f07b09
fix
matyhtf Sep 9, 2024
c113b5a
Update ext-swoole
matyhtf Sep 9, 2024
238f0f2
add liburing io_uring library (#700)
jingjingxyk Sep 9, 2024
c2a8b2b
更新 quickstart 脚本 (#766)
jingjingxyk Sep 10, 2024
7d076eb
调整 github aciton macos workflow (#764)
jingjingxyk Sep 10, 2024
831ddfe
更新 下载源码包(all-deps.zip) 集合 hash 签名 (#768)
jingjingxyk Sep 10, 2024
3f2dd71
update sync-source-code.php (#763)
jingjingxyk Sep 10, 2024
cf80067
调整 uuid 扩展 依赖库 命名 (#771)
jingjingxyk Sep 10, 2024
1a597e3
Optimize gettext
matyhtf Sep 10, 2024
5d78d56
Optimize code. default enable gettext, intl, uuid
matyhtf Sep 10, 2024
55233b3
Upgrade mongodb to 1.19.4, Fix macOS
matyhtf Sep 11, 2024
c72adbe
Remove gettext, intl, uuid extensions because they cannot be supporte…
matyhtf Sep 12, 2024
e5d7533
update extensions.md (#780)
jingjingxyk Sep 19, 2024
5f51ea4
删除 multistage-build-dependencies-container , 此功能由 build-export-contai…
jingjingxyk Sep 19, 2024
9258362
fix uuid gettext config error (#776)
jingjingxyk Sep 19, 2024
d77701b
update setup php swoole-cli runtime (#784)
jingjingxyk Sep 19, 2024
721febe
update workflow (#772)
jingjingxyk Sep 19, 2024
c58cec7
dockerfile 和 dockerfile-arm64 合并为一个 (#777)
jingjingxyk Sep 19, 2024
6595588
添加 开放原子 容器镜像 解决拉取基础镜像超时 (#767)
jingjingxyk Sep 20, 2024
5a9f649
1. 修复 libxml2, libxslt URL
matyhtf Oct 24, 2024
b68c589
Fix mongodb extension build error (#788)
jingjingxyk Oct 24, 2024
7c3e44d
fix readline not work (#802)
jingjingxyk Oct 24, 2024
625ee58
Feature optimize code for macOS builder (#792)
jingjingxyk Oct 24, 2024
7e9bb79
更新 swoole 至最新
matyhtf Oct 24, 2024
170bf04
修复 macos 编译出错的问题 --filter=[macos-aarch64][macos-x86_64]
matyhtf Oct 24, 2024
c96f041
设置 加载 php.ini 默认目录 (#812)
jingjingxyk Oct 26, 2024
98b854b
update prepare.php (#813)
jingjingxyk Oct 28, 2024
d9780e0
Fix sync source code (#798)
jingjingxyk Oct 28, 2024
ac39b18
update swoole souce code (#833)
jingjingxyk Nov 29, 2024
844e0e6
update setup-swoole-cli-runtime.sh (#834)
jingjingxyk Nov 29, 2024
bcdaa52
更新 下载所有依赖包的hash 值 和 升级默认下载的swoole-cli 版本 (#821)
jingjingxyk Nov 29, 2024
b5172d9
gd 扩展支持 avif 格式图片 (#815)
jingjingxyk Nov 29, 2024
3b4d5ed
默认启用xslwriter 扩展 (#838)
jingjingxyk Nov 29, 2024
dcaf82a
format download-box script (#837)
jingjingxyk Nov 29, 2024
921af75
下载 swoole-cli 运行时 可指定版本 (#842)
jingjingxyk Dec 3, 2024
d52f304
extensions.md add xslwriter (#840)
jingjingxyk Dec 3, 2024
7fef348
fix enable xlswriter (#846)
jingjingxyk Dec 3, 2024
a21b019
fix download swoole-cli runtime bug (#852)
jingjingxyk Dec 6, 2024
3f35eb4
swoole support zstd (#856)
jingjingxyk Dec 11, 2024
b8cfa40
生成 artifacts hash (#857)
jingjingxyk Dec 16, 2024
25c6b09
fix bug (#870)
jingjingxyk Dec 16, 2024
e9cad59
upgrade swoole version to v6.0.0 (#869)
jingjingxyk Dec 16, 2024
1d256c8
使用 curl下载出现错误时,打印错误信息 (#887)
jingjingxyk Dec 23, 2024
59f778a
update download-box version (#888)
jingjingxyk Dec 23, 2024
d2c7a36
update install cygwin build environment (#889)
jingjingxyk Dec 25, 2024
98c5e6d
为 make.sh 脚本添加 bash 执行引导
matyhtf Dec 25, 2024
406803f
修复拼写错误和 php warning
matyhtf Dec 25, 2024
477cfbf
优化 cygwin 构建环境 (#893)
jingjingxyk Dec 30, 2024
cb640bb
quickstart linux 运行容器名称与默认保持一致 (#890)
jingjingxyk Dec 30, 2024
b9a7cc7
发版时自动上传到腾讯云对象存储 (#874)
jingjingxyk Dec 30, 2024
907d93b
Feature quickstart fix error and format script code (#897)
jingjingxyk Dec 30, 2024
162192d
细节优化
matyhtf Dec 30, 2024
a3191b7
fix cygwin git error (#899)
jingjingxyk Jan 2, 2025
7c8725e
Fix quickstart connection swoole-cli-builder bug (#902)
jingjingxyk Jan 2, 2025
e655263
quickstart run-swoole-cli-builder.sh 优化 (#903)
jingjingxyk Jan 8, 2025
095f5e9
AtomHub 已下线,移除开放原子容器镜像 (#914)
jingjingxyk Feb 16, 2025
96cda39
添加生成 docker.io/phpswoole/swoole-cli 容器 脚本 (#913)
jingjingxyk Feb 16, 2025
f89eb52
改进 测试数据库 启动配置 (#916)
jingjingxyk Feb 18, 2025
648b2c3
优化 同步 php 源码 (#909)
jingjingxyk Feb 18, 2025
65daf81
swoole upgrade v6.0.1 (#921)
jingjingxyk Feb 20, 2025
43f3432
启用github action linux aarch64 原生构建 (#922)
jingjingxyk Feb 21, 2025
e61c42f
改进一下自动升级的脚本,创建一个唯一的临时目录作为文件下载的目标目录
matyhtf Mar 5, 2025
dede9fb
优化 cygwin 构建环境 (#906)
jingjingxyk Mar 5, 2025
e6c2361
将重复的逻辑封装为一个函数,修复 MongoDB 相关部分错误写作 redis 的问题
matyhtf Mar 5, 2025
60cd3b7
unix_odbc使用readline 作为命令行工具,移除 libedit 依赖 (#933)
jingjingxyk Mar 19, 2025
f73a55b
优化自动缓存 依赖库 (#935)
jingjingxyk Mar 19, 2025
cc832ca
修复 macos 环境下,启用 gettext 扩展 缺失依赖库 libintl (#932)
jingjingxyk Mar 20, 2025
94352c2
优化 macOS -framework 链接代码
matyhtf Mar 20, 2025
119e07e
fix bug macOS -framework 链接代码 (#941)
jingjingxyk Mar 20, 2025
27382f6
升级swoole 版本为 v6.0.2 (#944)
jingjingxyk Mar 28, 2025
55f6e11
更新配置运行时脚本 (#946)
jingjingxyk Apr 29, 2025
07545bb
update mimalloc vesion and build config (#949)
jingjingxyk Apr 29, 2025
8e2c891
brotli,lz4 构建指定 最低cmake 版本,解决macos 环境下构建报错 (#950)
jingjingxyk Apr 29, 2025
9b88f18
Feature static-pie (#951)
jingjingxyk Apr 30, 2025
ac92e8c
新增msys2 构建环境 (#968)
jingjingxyk Jul 1, 2025
2250283
增加windows powershell 环境下下载 swoole-cli (#957)
jingjingxyk Jul 1, 2025
f183028
使用配置文件 配置swoole 版本 (#975)
jingjingxyk Jul 15, 2025
771ba0f
linux 构建环境 增加检查 生成的二进制文件是否存在动态链接 (#961)
jingjingxyk Jul 15, 2025
04e3691
拉取main 分支代码
jingjingxyk Jul 19, 2025
2239fcd
拉取main 分支代码
jingjingxyk Jul 19, 2025
75f08ed
格式化 upgrade.md (#985)
jingjingxyk Aug 4, 2025
ae9c8f0
更新 默认php 运行时所在目录 (#976)
jingjingxyk Aug 4, 2025
137ccae
merge code from main
jingjingxyk Aug 6, 2025
415aff8
修复cygwin 构建环境缺失 libiconv-devel (#989)
jingjingxyk Aug 23, 2025
52982a1
swoole 启用 引入的面向对象风格的语法扩展 (#990)
jingjingxyk Aug 23, 2025
60a1f0d
在 github action runner 环境下,当swoole版本设置为开发版本时, 保持拉取最新 swoole 版本 (#988)
jingjingxyk Aug 23, 2025
a1a8882
Optimize msys2 打包 (#991)
jingjingxyk Aug 23, 2025
622c088
fix merge code conlict
jingjingxyk Aug 23, 2025
68157e1
设置 swoole 版本为v5.1.8
jingjingxyk Aug 23, 2025
e193e8f
fix merge code conflict
jingjingxyk Aug 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/artifact-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
jobs:
generate-artifact-hash:
runs-on: ubuntu-latest
if: 0
steps:
- uses: actions/checkout@v4
- name: Show Release File Hash
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/auto-cache-pool-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
pull_request:
schedule:
- cron: '0 0 */6 * *'
workflow_dispatch:

jobs:
auto-cache-pool:
if: 1
if: ${{ (github.repository_owner == 'swoole') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -70,25 +71,26 @@ jobs:
set -x
mkdir -p pool/lib
mkdir -p pool/ext
mkdir -p bin/runtime
if [ ! -f bin/runtime/php ] ; then
mkdir -p runtime/
test -f runtime/php && rm -f runtime/php
if [ ! -f runtime/php/php ] ; then
bash setup-php-runtime.sh
fi

ls -A pool/lib/
WORK_DIR=${{ github.workspace }}
uname -m
export PATH=${WORK_DIR}/bin/runtime:$PATH
alias php="php -d curl.cainfo=${WORK_DIR}/bin/runtime/cacert.pem -d openssl.cafile=${WORK_DIR}/bin/runtime/cacert.pem"
export PATH=${WORK_DIR}/runtime/php/:$PATH
alias php="php -d curl.cainfo=${WORK_DIR}/runtime/php/cacert.pem -d openssl.cafile=${WORK_DIR}/runtime/php/cacert.pem"

composer install --no-interaction --no-autoloader --no-scripts --profile
composer dump-autoload --optimize --profile

php prepare.php +inotify +apcu +ds +xlswriter +ssh2 +uuid --show-tarball-hash=1
php prepare.php +apcu +ds +xlswriter +ssh2 +uuid @macos --show-tarball-hash=1
php prepare.php +inotify +apcu +ds +ssh2 +uuid +protobuf +gettext --with-libavif=1 --show-tarball-hash=1
php prepare.php +apcu +ds +ssh2 +uuid +protobuf +gettext --with-libavif=1 --show-tarball-hash=1 @macos
php sapi/scripts/download-php-src-archive.php

echo 'cygwin: https://www.cygwin.com/COPYING' >> bin/LICENSE
cd ${{ github.workspace }}/pool/
zip -9 -r ${WORK_DIR}/all-deps.zip ext lib
zip -9 -r ${WORK_DIR}/all-deps.zip ext lib php-tar
HASH=$(sha256sum ${WORK_DIR}/all-deps.zip | awk '{print $1}')
echo " all-deps.zip sha265: ${HASH} "
echo -n ${HASH} > ${WORK_DIR}/all-deps.zip.sha256sum
Expand All @@ -98,6 +100,8 @@ jobs:
run: |
ls -A pool/lib/
ls -A pool/ext/
ls -A pool/php-tar/
cat bin/LICENSE

- name: production artifacts
uses: actions/upload-artifact@v4
Expand All @@ -107,6 +111,7 @@ jobs:
path: |
all-deps.zip
all-deps.zip.sha256sum
bin/LICENSE

- name: gh release
uses: softprops/action-gh-release@v2
Expand All @@ -115,3 +120,4 @@ jobs:
files: |
all-deps.zip
all-deps.zip.sha256sum
bin/LICENSE
114 changes: 0 additions & 114 deletions .github/workflows/linux-aarch64-qemu.yml

This file was deleted.

20 changes: 11 additions & 9 deletions .github/workflows/linux-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: actions/cache@v4
id: php-runtime-cache-aarch64
with:
path: ${{ github.workspace }}/bin/runtime
path: ${{ github.workspace }}/runtime
key: ${{ runner.os }}-aarch64-php-runtime

- name: Cache PHP Vendor
Expand Down Expand Up @@ -92,8 +92,10 @@ jobs:
set -x
mkdir -p pool/lib
mkdir -p pool/ext
mkdir -p bin/runtime
if [ ! -f bin/runtime/php ] ; then
mkdir -p bin/
mkdir -p runtime/
test -f runtime/php && rm -f runtime/php
if [ ! -f runtime/php/php ] ; then
bash setup-php-runtime.sh
fi
bash sapi/download-box/download-box-get-archive-from-server.sh
Expand All @@ -108,20 +110,20 @@ jobs:
run: |
set -eux
uname -m
export PATH=/work/bin/runtime:$PATH # 容器已经内置 php 和 composer
alias php="php -d curl.cainfo=/work/bin/runtime/cacert.pem -d openssl.cafile=/work/bin/runtime/cacert.pem"
export PATH=/work/runtime/php/:$PATH # 容器已经内置 php 和 composer
alias php="php -d curl.cainfo=/work/runtime/php/cacert.pem -d openssl.cafile=/work/runtime/php/cacert.pem"

sh sapi/quickstart/linux/alpine-init.sh
composer install --no-interaction --no-autoloader --no-scripts --profile
composer dump-autoload --optimize --profile

php prepare.php

bash ./make.sh all-library
bash make.sh all-library

bash ./make.sh config
bash ./make.sh build
bash ./make.sh archive
bash make.sh config
bash make.sh build
bash make.sh archive

- name: Show Build Result
run: |
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: actions/cache@v4
id: php-runtime-cache-x86_64
with:
path: ${{ github.workspace }}/bin/runtime
path: ${{ github.workspace }}/runtime
key: ${{ runner.os }}-x86_64-php-runtime

- name: Cache PHP Vendor
Expand Down Expand Up @@ -92,8 +92,10 @@ jobs:
set -x
mkdir -p pool/lib
mkdir -p pool/ext
mkdir -p bin/runtime
if [ ! -f bin/runtime/php ] ; then
mkdir -p bin/
mkdir -p runtime/
test -f runtime/php && rm -f runtime/php
if [ ! -f runtime/php/php ] ; then
bash setup-php-runtime.sh
fi
bash sapi/download-box/download-box-get-archive-from-server.sh
Expand All @@ -108,20 +110,20 @@ jobs:
run: |
set -eux
uname -m
export PATH=/work/bin/runtime:$PATH # 容器已经内置 php 和 composer
alias php="php -d curl.cainfo=/work/bin/runtime/cacert.pem -d openssl.cafile=/work/bin/runtime/cacert.pem"
export PATH=/work/runtime/php:$PATH # 容器已经内置 php 和 composer
alias php="php -d curl.cainfo=/work/runtime/php/cacert.pem -d openssl.cafile=/work/runtime/php/cacert.pem"

sh sapi/quickstart/linux/alpine-init.sh
composer install --no-interaction --no-autoloader --no-scripts --profile
composer dump-autoload --optimize --profile

php prepare.php

bash ./make.sh all-library
bash make.sh all-library

bash ./make.sh config
bash ./make.sh build
bash ./make.sh archive
bash make.sh config
bash make.sh build
bash make.sh archive

- name: Start Database
run: |
Expand All @@ -136,14 +138,14 @@ jobs:
./bin/swoole-cli -m
./bin/swoole-cli --ri gd
./bin/swoole-cli --ri swoole
ldd ./bin/swoole-cli
file ./bin/swoole-cli
readelf -h ./bin/swoole-cli
APP_VERSION=$(./bin/swoole-cli -v | awk '{print $2}')
echo "APP_VERSION=${APP_VERSION}" >> $GITHUB_ENV
./bin/swoole-cli -r "echo PHP_VERSION;"
./bin/swoole-cli ./vendor/bin/phpunit ./sapi/src/UnitTest/MainTest.php --list-tests
./bin/swoole-cli ./vendor/bin/phpunit ./sapi/src/UnitTest/MainTest.php
./bin/swoole-cli ./vendor/bin/phpunit ./sapi/src/UnitTest/SwoolePGSQLTest.php

- name: production artifacts debug
uses: actions/upload-artifact@v4
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/macos-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: actions/cache@v4
id: php-runtime-cache
with:
path: ${{ github.workspace }}/bin/runtime
path: ${{ github.workspace }}/runtime
key: ${{ runner.os }}-aarch64-php-runtime

- name: Cache PHP Vendor
Expand Down Expand Up @@ -87,18 +87,20 @@ jobs:
set -x
mkdir -p pool/lib
mkdir -p pool/ext
mkdir -p bin/runtime
if [ ! -f bin/runtime/php ] ; then
bash sapi/quickstart/setup-php-runtime.sh
mkdir -p bin/
mkdir -p runtime/
test -f runtime/php && rm -f runtime/php
if [ ! -f runtime/php/php ] ; then
bash setup-php-runtime.sh
fi
bash sapi/download-box/download-box-get-archive-from-server.sh
ls -A pool/lib/
ls -A /usr/local/swoole-cli/

- name: prepare
run: |
export PATH=${{ github.workspace }}/bin/runtime:$PATH
alias php="php -d curl.cainfo=${{ github.workspace }}/bin/runtime/cacert.pem -d openssl.cafile=${{ github.workspace }}/bin/runtime/cacert.pem"
export PATH=${{ github.workspace }}/runtime/php/:$PATH
alias php="php -d curl.cainfo=${{ github.workspace }}/runtime/php/cacert.pem -d openssl.cafile=${{ github.workspace }}/runtime/php/cacert.pem"

composer install --no-interaction --no-autoloader --no-scripts --profile
composer dump-autoload --optimize --profile
Expand All @@ -107,13 +109,13 @@ jobs:

- name: Build
run: |
export PATH=${{ github.workspace }}/bin/runtime:$PATH
export PATH=${{ github.workspace }}/runtime/php/:$PATH

bash ./make.sh all-library
bash make.sh all-library

bash ./make.sh config
bash ./make.sh build
bash ./make.sh archive
bash make.sh config
bash make.sh build
bash make.sh archive

- name: Show Build Result
run: |
Expand Down
Loading
Loading