Build: Build Windows 7 binaries with a patched newer Go #4195
+206
−48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
该 pr 通过在 Actions 中先使用现有 Go 编译进行了改动后的 Go 后,使用改动过的 Go 编译出
也许能在 Windows 7 上用的二进制。目前处于能构建并且构建出来的二进制的确能运行的阶段,但是手边没有安装了 win7 的机器或者镜像所以只能找小白鼠了。目前使用 MetaCubeX/go 作为改版 Go 的来源,可以修改为其它仓库。
因为构建耗时较长,触发器相比一般的 build 少了对出现 go 文件发生更改时的触发项。
将
. ./all.bash
改为
可以降低不少耗时,但是不保证编译出来的改版 Go 不会出奇怪的不易察觉的 break。
技术有限,目前编译出来的二进制不会显示 commit SHA。更新:显示长 SHA合并该 pr 需要同时合并 #4192。因为产生的打包文件名字一致。