Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New dev #31

Closed
wants to merge 975 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
975 commits
Select commit Hold shift + click to select a range
5c5e569
save changed
jingjingxyk Apr 22, 2023
d9d4b3a
Merge branch 'new_main' into new_dev
jingjingxyk Apr 22, 2023
71eaff3
save changed
jingjingxyk Apr 22, 2023
04482f6
改进libjpeg 静态编译
jingjingxyk Apr 22, 2023
77eb1ab
merge code
jingjingxyk Apr 22, 2023
998b0e4
merge code
jingjingxyk Apr 22, 2023
84b9b55
合并代码 解决冲突
jingjingxyk Apr 23, 2023
7800bf8
补上解决冲突,丢失的代码
jingjingxyk Apr 23, 2023
6ecbad3
merge code
jingjingxyk Apr 23, 2023
925c679
merge code
jingjingxyk Apr 23, 2023
a057d34
save changed
jingjingxyk Apr 23, 2023
1b26467
save changed
jingjingxyk Apr 24, 2023
95b1050
save changed
jingjingxyk Apr 25, 2023
8037b2b
save changed
jingjingxyk Apr 25, 2023
85ca41b
save changaed
jingjingxyk Apr 26, 2023
e736085
添加快速进入编译环境脚本
jingjingxyk Apr 26, 2023
b6fab3c
merge code
jingjingxyk Apr 26, 2023
6e00ecd
save changed
jingjingxyk Apr 26, 2023
0a2ad0d
添加quick start 链接debian 容器
jingjingxyk Apr 26, 2023
8c1ed14
Merge branch 'new_main' into new_dev
jingjingxyk Apr 26, 2023
b389e69
save changed
jingjingxyk Apr 26, 2023
c846af2
change macos prepare.sh
jingjingxyk Apr 26, 2023
8b29844
save changed
jingjingxyk Apr 26, 2023
0625ee6
fix bug
jingjingxyk Apr 26, 2023
f9baf1f
Merge branch 'new_main' into new_dev
jingjingxyk Apr 26, 2023
de3dbf2
fix shell path error
jingjingxyk Apr 26, 2023
5a238c6
Merge branch 'new_main' into new_dev
jingjingxyk Apr 26, 2023
0d162a4
fix path error
jingjingxyk Apr 26, 2023
00b2f96
merge code
jingjingxyk Apr 26, 2023
9949b38
save changed
jingjingxyk Apr 26, 2023
69b8d0a
save
jingjingxyk Apr 26, 2023
c72bd82
save changed
jingjingxyk Apr 26, 2023
555cbae
save changed
jingjingxyk Apr 26, 2023
97e7047
save changed
jingjingxyk Apr 26, 2023
b671a22
Merge branch 'new_main' into new_dev
jingjingxyk Apr 26, 2023
61ce878
save changed
jingjingxyk Apr 27, 2023
6450fd0
验证启用github action
jingjingxyk Apr 27, 2023
78f637d
修改github action 构建脚本
jingjingxyk Apr 27, 2023
134462d
Merge branch 'feature_github_action_windows' into new_main
jingjingxyk Apr 27, 2023
2c0e27f
Merge branch 'main' into feature_multistage_build_dependencies_container
jingjingxyk Apr 27, 2023
882b369
更新swoole-cli 版本
jingjingxyk Apr 27, 2023
5f3b8c8
使用最新的依赖库
jingjingxyk Apr 27, 2023
7495ec4
Merge branch 'feature_multistage_build_dependencies_container' into n…
jingjingxyk Apr 27, 2023
d511eaf
添加快速运行构建环境脚本
jingjingxyk Apr 27, 2023
e646232
Merge branch 'feature_quick_start' into new_main
jingjingxyk Apr 27, 2023
75afa16
quickstart 使用最新PHP 运行时
jingjingxyk Apr 27, 2023
205986e
Merge branch 'feature_quick_start' into new_main
jingjingxyk Apr 27, 2023
f0ec8a7
添加在容器中快速初始化运行时
jingjingxyk Apr 27, 2023
20a375e
添加在容器中快速初始化运行时
jingjingxyk Apr 27, 2023
a4be307
Merge branch 'feature_quick_start' into new_main
jingjingxyk Apr 27, 2023
11eed72
更新macos下快速安装运行时脚本
jingjingxyk Apr 27, 2023
f283548
Merge remote-tracking branch 'origin/feature_quick_start' into new_main
jingjingxyk Apr 27, 2023
a614488
格式化 quickstart 脚本
jingjingxyk Apr 27, 2023
c9db715
格式化 quickstart 脚本
jingjingxyk Apr 27, 2023
10a064e
Merge branch 'feature_quick_start' into new_main
jingjingxyk Apr 27, 2023
e2ba4cb
save changed
jingjingxyk Apr 27, 2023
51886bf
save changed
jingjingxyk Apr 27, 2023
905ee69
save changed
jingjingxyk Apr 27, 2023
b0519b2
merge code
jingjingxyk Apr 28, 2023
9eeaf15
Merge branch 'main' into feature_quick_start
jingjingxyk Apr 28, 2023
9d90d94
merge code
jingjingxyk Apr 28, 2023
461c626
fix bug
jingjingxyk Apr 28, 2023
27b652a
Merge branch 'feature_quick_start' into new_main
jingjingxyk Apr 28, 2023
89bde31
merge code
jingjingxyk Apr 28, 2023
ad95460
save changed
jingjingxyk Apr 28, 2023
7cd448e
save changed
jingjingxyk Apr 28, 2023
7eb83e1
save changed
jingjingxyk Apr 30, 2023
bb04c13
save changed
jingjingxyk Apr 30, 2023
8be383a
save changed
jingjingxyk Apr 30, 2023
67ea255
save changed
jingjingxyk May 1, 2023
e04c3c4
修复下载sourceforge.net源码包内容不正确 和 完善批量下载
jingjingxyk May 1, 2023
8cbc443
改进批量下载
jingjingxyk May 1, 2023
5d3cb74
change options.md
jingjingxyk May 1, 2023
e4ae652
生成依赖库镜像容器时,生成扩展依赖图
jingjingxyk May 1, 2023
abf6808
update options.md
jingjingxyk May 1, 2023
bffbde6
update options.md
jingjingxyk May 1, 2023
99cb802
update download-box README.md
jingjingxyk May 1, 2023
df35d64
save changed
jingjingxyk May 1, 2023
a6cd288
fix cygin pack
jingjingxyk May 1, 2023
c7b822d
merge code
jingjingxyk May 1, 2023
bea0a23
fix mkdir cache dir bug
jingjingxyk May 1, 2023
fbef0f3
Merge branch 'main' into feature_with_download_script
jingjingxyk May 1, 2023
3e58dba
merge code
jingjingxyk May 1, 2023
91454c7
merge code
jingjingxyk May 1, 2023
8527855
merge code
jingjingxyk May 1, 2023
6cc4349
save changed
jingjingxyk May 1, 2023
048d0d4
Merge branch 'main' into feature_multistage_build_dependencies_container
jingjingxyk May 1, 2023
0a7f6bb
disable libidn2
jingjingxyk May 1, 2023
a72e06f
Merge branch 'feature_multistage_build_dependencies_container' into n…
jingjingxyk May 1, 2023
ee137f2
Merge branch 'main' into feature_github_action_windows
jingjingxyk May 1, 2023
670acbc
移动 cygwin build.yaml
jingjingxyk May 1, 2023
0d81981
test cygwin build
jingjingxyk May 1, 2023
23ea513
fix build.yml
jingjingxyk May 1, 2023
575a32b
fix build.yml
jingjingxyk May 1, 2023
b4d050d
merge code
jingjingxyk May 1, 2023
811727d
merge code
jingjingxyk May 1, 2023
908421d
save changed
jingjingxyk May 1, 2023
8ba2a53
save changed
jingjingxyk May 1, 2023
3264b7c
fix bug
jingjingxyk May 1, 2023
634f7ec
merge code
jingjingxyk May 1, 2023
d2f259a
Merge branch 'main' into feature_with_build_type
jingjingxyk May 1, 2023
0a5069a
Merge branch 'main' into feature_skip_download_with_mirror_url
jingjingxyk May 1, 2023
fcf0faf
Merge branch 'main' into feature_quick_start
jingjingxyk May 1, 2023
e9b4471
更新快速运行构建环境
jingjingxyk May 1, 2023
2903ef4
Merge branch 'feature_quick_start' into new_main
jingjingxyk May 1, 2023
3e12035
test cygwin
jingjingxyk May 1, 2023
1bc33a4
Merge branch 'feature_github_action_windows' into new_main
jingjingxyk May 1, 2023
4b54946
添加使用代理下载PHP运行时
jingjingxyk May 3, 2023
cb4e2d4
更新脚本
jingjingxyk May 3, 2023
155910c
Merge branch 'feature_quick_start' into new_main
jingjingxyk May 3, 2023
f2d6311
save changed
jingjingxyk May 4, 2023
137b4a6
save changed
jingjingxyk May 4, 2023
ac6b93a
fix
jingjingxyk May 4, 2023
bc5b999
Merge branch 'fix_download_bug' into main-ok
jingjingxyk May 4, 2023
8e9dcf0
Merge branch 'feature_quick_start' into main-ok
jingjingxyk May 4, 2023
c07b016
添加当环境没有PHP 解释器时,快速安装解释器
jingjingxyk May 4, 2023
8d969a4
改进
jingjingxyk May 4, 2023
0534a66
Merge branch 'feature_quick_start' into main-ok
jingjingxyk May 4, 2023
331871e
保存过程
jingjingxyk May 4, 2023
b7d78c8
添加链接标志
jingjingxyk May 4, 2023
1093ff0
更新静态编译标志
jingjingxyk May 4, 2023
20a58c8
更新
jingjingxyk May 4, 2023
8961699
更新
jingjingxyk May 4, 2023
79d6879
Merge branch 'feature_multistage_build_dependencies_container' into m…
jingjingxyk May 4, 2023
275431d
添加构建依赖库容器脚本
jingjingxyk May 4, 2023
b974ad9
改变构建依赖库容器脚本
jingjingxyk May 4, 2023
13d4e1f
update build depend library container script
jingjingxyk May 4, 2023
a0d5a55
update build depend library container script
jingjingxyk May 4, 2023
f03369f
update build depend library container script
jingjingxyk May 4, 2023
136ca0b
save changed
jingjingxyk May 4, 2023
2984ffa
添加linux x86_64 架构下自动构建
jingjingxyk May 4, 2023
1335308
fix error
jingjingxyk May 4, 2023
08099ba
更新下载box
jingjingxyk May 4, 2023
bca3be9
merge code
jingjingxyk May 4, 2023
5aa62a3
save changed
jingjingxyk May 4, 2023
e56e87c
fix
jingjingxyk May 4, 2023
87c4a0c
Merge branch 'main-ok' into new_main
jingjingxyk May 4, 2023
1fa575f
save changed
jingjingxyk May 4, 2023
cdfc276
save changed
jingjingxyk May 4, 2023
48f477d
Merge branch 'main-ok' into new_main
jingjingxyk May 4, 2023
62cea2c
save changed
jingjingxyk May 4, 2023
2bc6e12
修改容器分步构建脚本
jingjingxyk May 4, 2023
d1763b5
修改容器分步构建脚本
jingjingxyk May 4, 2023
35d22c4
修改容器分步构建脚本
jingjingxyk May 4, 2023
af869c3
merge code
jingjingxyk May 5, 2023
5266b60
merge code
jingjingxyk May 5, 2023
5085f6b
update curl build
jingjingxyk May 5, 2023
3474f0e
update curl build
jingjingxyk May 5, 2023
27bc8df
update curl build
jingjingxyk May 5, 2023
3b7e9f3
update curl build
jingjingxyk May 5, 2023
7178bff
更新文档
jingjingxyk May 5, 2023
8a98759
Merge branch 'main-ok' into new_main
jingjingxyk May 5, 2023
67dc97c
save changed
jingjingxyk May 5, 2023
55ac239
update build
jingjingxyk May 5, 2023
86c740d
reset build.yml
jingjingxyk May 5, 2023
41ad88a
save changed
jingjingxyk May 5, 2023
e9747f0
save changed
jingjingxyk May 5, 2023
fc7ed46
add macos x86_64 build
jingjingxyk May 5, 2023
d485fdb
add macos x86_64 build
jingjingxyk May 5, 2023
5411e61
add macos x86_64 build
jingjingxyk May 5, 2023
9bd453d
add macos x86_64 build
jingjingxyk May 5, 2023
db559e0
add macos x86_64 build
jingjingxyk May 5, 2023
14f886b
updaet macos x86_64 build
jingjingxyk May 5, 2023
70141e6
updaet macos x86_64 build
jingjingxyk May 5, 2023
639bda9
update macos x86_64 build
jingjingxyk May 5, 2023
0b524a8
Merge branch 'main' into feature_multistage_build_dependencies_container
jingjingxyk May 5, 2023
e2f8648
改进 生成 容器镜像 docker.io/phpswoole/swoole-cli-builder
jingjingxyk May 5, 2023
b1f165f
merge code
jingjingxyk May 5, 2023
6bc0b77
merge code
jingjingxyk May 5, 2023
cf2e40e
github action macos build
jingjingxyk May 5, 2023
fb7f903
update macos build.yml
jingjingxyk May 5, 2023
2974a0a
改进下载PHP RUNTIME 版本
jingjingxyk May 5, 2023
d0d564e
merge code
jingjingxyk May 5, 2023
03f2afc
添加 windows cygwin build
jingjingxyk May 5, 2023
f946257
Merge branch 'main' into feature_windows_cygwin_build
jingjingxyk May 5, 2023
6408cf0
merrge code
jingjingxyk May 5, 2023
6e88708
merge code
jingjingxyk May 5, 2023
2b3efd7
添加 linux swoole-cli
jingjingxyk May 5, 2023
fa82658
update linux build yml
jingjingxyk May 5, 2023
cc9993d
merge code
jingjingxyk May 5, 2023
73c99da
save changed
jingjingxyk May 5, 2023
2afc91a
Update linux-x86_64.yml
matyhtf May 5, 2023
15ff5b5
更新创建镜像容器库脚本
jingjingxyk May 5, 2023
76ed9e0
Merge branch 't' into feature_linux_build
jingjingxyk May 5, 2023
67ff16d
save changed
jingjingxyk May 5, 2023
4b94b8c
Merge remote-tracking branch 'origin/feature_linux_build'
jingjingxyk May 5, 2023
18a13a8
merge code
jingjingxyk May 5, 2023
0d06a50
更新容器镜像tag
jingjingxyk May 5, 2023
76f8422
update script
jingjingxyk May 5, 2023
9d2dd78
fix Dockerfile Error
jingjingxyk May 5, 2023
45124df
更新linux 容器tag
jingjingxyk May 5, 2023
57edc8e
merge code
jingjingxyk May 5, 2023
0efe136
merge code
jingjingxyk May 5, 2023
6b467e3
merge code
jingjingxyk May 5, 2023
f9e4816
merge code
jingjingxyk May 5, 2023
8ed76b4
save changed
jingjingxyk May 5, 2023
03720f3
merge code
jingjingxyk May 5, 2023
1db8634
save changed
jingjingxyk May 5, 2023
e89da6a
save changed
jingjingxyk May 5, 2023
f1d6043
添加linux aarch64 build
jingjingxyk May 5, 2023
eb814be
添加linux aarch64 build
jingjingxyk May 5, 2023
d8ee4b6
添加linux aarch64 build
jingjingxyk May 5, 2023
695f200
添加linux aarch64 build
jingjingxyk May 5, 2023
8de4ed3
添加linux aarch64 build
jingjingxyk May 5, 2023
097d7e8
save changed
jingjingxyk May 5, 2023
16c7c89
save changed
jingjingxyk May 5, 2023
6bb9af2
update
jingjingxyk May 5, 2023
e3c9011
添加 linux aarch64 build
jingjingxyk May 5, 2023
5b6f9c0
Merge branch 'feature_linux_aarch64_build' into main-ok
jingjingxyk May 5, 2023
ab9db9a
save changed
jingjingxyk May 5, 2023
730b9eb
save changed
jingjingxyk May 5, 2023
1de1c83
save changed
jingjingxyk May 5, 2023
d646d80
save changed
jingjingxyk May 5, 2023
97a6fbe
save changed
jingjingxyk May 5, 2023
8f7958b
save changed
jingjingxyk May 5, 2023
6c57f51
fix windows cygwin build
jingjingxyk May 5, 2023
b8be8c9
fix config
jingjingxyk May 5, 2023
35bc46a
merge code
jingjingxyk May 5, 2023
c37a6d0
save changed
jingjingxyk May 6, 2023
06183e6
fix yml errror
jingjingxyk May 6, 2023
40441cd
Merge branch 'feature_linux_aarch64_build' into main-ok
jingjingxyk May 6, 2023
fe2cba6
fix
jingjingxyk May 6, 2023
1fdce39
Merge branch 'feature_linux_build' into main-ok
jingjingxyk May 6, 2023
0f5e1bd
stop all auto action
jingjingxyk May 6, 2023
15325ae
Merge branch 'main-ok' into new_main
jingjingxyk May 6, 2023
709c93b
Merge remote-tracking branch 'origin/new_dev' into new_dev
jingjingxyk May 6, 2023
264155c
save changed
jingjingxyk May 6, 2023
8aa06a9
Merge branch 'feature_skip_download_with_mirror_url' into new_main
jingjingxyk May 6, 2023
6ae5167
Merge branch 'feature_with_build_type' into new_main
jingjingxyk May 6, 2023
c7dbc3b
Merge branch 'new_main' into new_dev
jingjingxyk May 6, 2023
0145910
save changed
jingjingxyk May 6, 2023
ec7a129
Merge branch 'new_main' into new_dev
jingjingxyk May 6, 2023
12bc101
merge code
jingjingxyk May 6, 2023
9a87985
merge code
jingjingxyk May 6, 2023
b3b1de5
调整命名
jingjingxyk May 6, 2023
58dfbff
默认停止所有构建
jingjingxyk May 6, 2023
7f13c26
merge code
jingjingxyk May 6, 2023
a2e1d85
Merge branch 'main-ok' into new_main
jingjingxyk May 6, 2023
0fa470c
fix bug
jingjingxyk May 6, 2023
dadb0c1
Merge branch 'feature-fix-format' into main-ok
jingjingxyk May 6, 2023
9bc0ce1
Merge branch 'main-ok' into new_main
jingjingxyk May 6, 2023
c2329c1
fix word error
jingjingxyk May 6, 2023
17c8e0c
fix
jingjingxyk May 6, 2023
4534cdc
fix
jingjingxyk May 6, 2023
4aef09b
fix
jingjingxyk May 6, 2023
e28a0b8
fix
jingjingxyk May 6, 2023
835d485
Merge branch 'feature-fix-format' into main-ok
jingjingxyk May 6, 2023
faaaa3b
Merge branch 'main-ok' into new_main
jingjingxyk May 6, 2023
c1b3233
Merge branch 'new_main' into new_dev
jingjingxyk May 6, 2023
2602ad5
save changed
jingjingxyk May 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
59 changes: 0 additions & 59 deletions .github/workflows/build.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/linux-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: build-swoole-cli-linux-aarch64
on: [ push, pull_request ]

jobs:
linux:
if: 1
linux-aarch64:
if: 0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build-swoole-cli-linux-amd64
name: build-swoole-cli-linux-x86_64

on: [ push, pull_request ]

jobs:
linux:
linux-x86_64:
if: 0
runs-on: ubuntu-latest
steps:
Expand Down
84 changes: 0 additions & 84 deletions .github/workflows/macos-x86_64-build.yml

This file was deleted.

85 changes: 85 additions & 0 deletions .github/workflows/macos-x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: build-swoole-cli-macos-x86_64

on: [push, pull_request]

jobs:
macos-x86_64:
if: 0
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Configure
run: |
env
echo $HOME
brew install wget curl libtool automake gettext coreutils re2c binutils
which glibtool
ln -sf /usr/local/bin/glibtool /usr/local/bin/libtool
ln -sf /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
sudo mkdir -p pool/lib
sudo mkdir -p pool/ext
git submodule update --init
- name: Cache
uses: actions/cache@v3
id: all-archive-cache
with:
path: |
${GITHUB_WORKSPACE}/var/all-archive.zip
${GITHUB_WORKSPACE}/bin/runtime/php
${GITHUB_WORKSPACE}/bin/runtime/composer
key: all-archive
- name: Prepare runtime
if: ${{ steps.all-archive-cache.outputs.cache-hit != 'true' }}
run: |
sudo mkdir -p pool/lib
sudo mkdir -p pool/ext
sudo mkdir -p bin/runtime

sudo sh sapi/quickstart/setup-php-runtime.sh
export PATH=${GITHUB_WORKSPACE}/bin/runtime:$PATH
sudo sh sapi/download-box/download-box-get-archive-from-server.sh
- name: prepare
run: |
sudo mkdir -p pool/lib
sudo mkdir -p pool/ext
sudo mkdir -p bin/runtime
export PATH=${GITHUB_WORKSPACE}/bin/runtime:$PATH
sudo sh sapi/download-box/download-box-get-archive-from-server.sh

sudo composer update --no-dev --optimize-autoloader
sudo php prepare.php --without-docker=1 --with-build-type=release +ds +apcu
- name: Cache all-library
uses: actions/cache@v3
id: all-library-cache
with:
path: |
${HOME}/.swoole-cli
key: all-library-cache
- name: Build all-library
if: ${{ steps.all-library-cache.outputs.cache-hit != 'true' }}
run: |
sudo chmod a+x ./make.sh
sudo ./make.sh all-library

- name: Build
run: |
sudo chmod a+x ./make.sh
sudo ./make.sh config
sudo ./make.sh build
sudo ./make.sh archive
file ./bin/swoole-cli
./bin/swoole-cli -r "echo PHP_VERSION;"

- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: swoole-cli-macos-x64
retention-days: 7
path: ./bin/swoole-cli
- name: gh release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: swoole-cli-*-x64.tar.xz
draft: true
prerelease: true
58 changes: 0 additions & 58 deletions .github/workflows/windows-cygwin-build.yml

This file was deleted.

63 changes: 63 additions & 0 deletions .github/workflows/windows-cygwin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: build-swoole-cli-windows-cygwin

on: [ push, pull_request ]

jobs:
windows-cygwin:
if: 0
runs-on: windows-latest
steps:
- name: Prepare git

run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- name: Prepare submodule
run: |
git submodule update --init
- name: Cache cygwin packages
id: cache-cygwin
uses: actions/cache@v3
env:
cache-name: cache-cygwin-packages
with:
path: C:/cygwin-packages
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Install deps
uses: cygwin/cygwin-install-action@v2
with:
platform: x64
packages: make wget tar libtool re2c bison gcc-g++ autoconf automake openssl libpcre2-devel libssl-devel libcurl-devel libxml2-devel libxslt-devel libgmp-devel ImageMagick libpng-devel libjpeg-devel libfreetype-devel libwebp-devel libsqlite3-devel zlib-devel libbz2-devel liblz4-devel liblzma-devel libzip-devel libicu-devel libonig-devel libcares-devel libsodium-devel libyaml-devel libMagick-devel libzstd-devel libbrotli-devel libreadline-devel libintl-devel libpq-devel libssh2-devel libidn2-devel gettext-devel coreutils openssl-devel zip unzip
- name: Install re2c
run: |
bash ./sapi/scripts/cygwin/install-re2c.sh
- name: Configure
run: |
uname -a
# git config --global --add safe.directory /cygdrive/d/a/swoole-cli/swoole-cli
# git submodule update --init
bash ./sapi/scripts/cygwin/cygwin-config-ext.sh
bash ./sapi/scripts/cygwin/cygwin-config.sh
- name: Build
run: |
bash ./sapi/scripts/cygwin/cygwin-build.sh
./bin/swoole-cli -v
- name: Archive
run: |
bash ./sapi/scripts/cygwin/cygwin-archive.sh
- name: production artifacts
uses: actions/upload-artifact@v3
with:
name: cygwin-swoole-cli-dist
path: |
bin/swoole-cli.exe
- name: gh release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: swoole-cli-*-cygwin-x64.zip
draft: true
prerelease: true