Repository navigation
v0.1.2:Release 加上 macOS、Linux 的库 - #10
Merged
Merged
Conversation
release workflow 多编 macOS arm64 的 libmodavd_extras.dylib 和 Linux x64 的 libmodavd_extras.so, 和 Windows 的两个 DLL 一起按 tag 下的 SHA256SUMS 核对后上传。CI 的 posix job 打印这两个库的哈希, macOS 的最低版本定在 12。README 写明 macOS 实测过、Release 带三个平台的库。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
为什么
Release 到 v0.1.1 只带 Windows 的两个 DLL:发版 workflow 只在 Windows 上编。macOS 上的截图已经有人实测过(#1 里的记录、#8),ModAVD 的 macOS 版也在做,所以从这一版起把 macOS、Linux 的库也放进 Release。顺带发出 #8、#9 的修复。
改了什么
release.yml:check(tag、祖先、版本号,以及SHA256SUMS.txt正好是四个文件各一行)→windows、posix(ubuntu-24.04、macos-15)各自编译、跑测试、核对自己那几行哈希 →draft收齐四个文件,再按 tag 下的列表核一遍,建草稿 Release。draft有contents: write,其余只读;action 照旧钉 SHA。ci.yml:posix job 打印库的哈希(和SHA256SUMS.txt同一格式),以及 Linux 要的最高 glibc 版本、macOS 的最低系统版本,发版说明照着填。CMakeLists.txt:版本号 0.1.2;macOS 最低版本定在 12.0,不然会跟着 runner 的 SDK 要求 macOS 15。release/0.1.2.md:发版说明,中英两段。哈希和 glibc 版本等这个 PR 的 CI 跑出来再填,release/0.1.2.SHA256SUMS.txt也那时候加。测试
build.ps1编译,test_core、test_shim都过。release.yml在 tag 推上去之前不会跑。