mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-03 23:05:41 +08:00
update README
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user