ci: build Linux release package
Some checks failed
Build Linux Release / build-linux (push) Has been cancelled
Some checks failed
Build Linux Release / build-linux (push) Has been cancelled
This commit is contained in:
23
README.md
23
README.md
@@ -97,6 +97,29 @@ cd /root/chengnan
|
||||
build-linux/chengnan
|
||||
```
|
||||
|
||||
### 生成发布包
|
||||
|
||||
如需生成可分发的 Linux x86_64 发布包,执行:
|
||||
|
||||
```bash
|
||||
cd /root/chengnan
|
||||
./scripts/package-linux-release.sh
|
||||
```
|
||||
|
||||
脚本会先执行 Release 构建,再将程序、项目内 Qt/OpenCV 运行时库、Qt 插件和启动脚本打包到:
|
||||
|
||||
```text
|
||||
dist-linux/chengnan-linux-x86_64.tar.gz
|
||||
dist-linux/chengnan-linux-x86_64.tar.gz.sha256
|
||||
```
|
||||
|
||||
解压后在有 X11 / Wayland 图形会话的 Linux 桌面环境中运行:
|
||||
|
||||
```bash
|
||||
tar -xzf chengnan-linux-x86_64.tar.gz
|
||||
./chengnan-linux-x86_64/run-chengnan.sh
|
||||
```
|
||||
|
||||
### 分步构建
|
||||
|
||||
如果希望先准备依赖,再单独构建:
|
||||
|
||||
Reference in New Issue
Block a user