update README

This commit is contained in:
crazywhalecc 2023-04-15 19:05:59 +08:00
parent 01bf2ae63b
commit 103f76e190
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680
2 changed files with 5 additions and 0 deletions

View File

@ -5,12 +5,14 @@ on:
inputs:
operating-system:
required: true
description: Compile target OS
type: choice
options:
- ubuntu-latest
- macos-latest
version:
required: true
description: php version to compile
default: '8.2'
type: choice
options:
@ -20,6 +22,7 @@ on:
- '7.4'
target:
required: true
description: which SAPI to deploy
default: 'cli'
type: choice
options:

View File

@ -52,6 +52,8 @@ Compile A Statically Linked PHP With Swoole and other Extensions. [English READM
如果你选择了 `debug`,则会在构建时输出所有日志,包括编译的日志,以供排查错误。
目前构建是基于 GitHub 官方的 Runner使用 `macos-latest` 编译后的 PHP 为 Intel 架构,使用 `ubuntu-latest` 编译后的架构为 `x86_64` 架构。 如需编译其他架构,请手动构建。
### 手动构建
```bash