Skip to content

ci: 依存を変える PR でリリースのターゲット(arm・musl)もビルドする - #112

Merged
max3584 merged 1 commit into
masterfrom
ci/cross-build-on-deps
Sep 27, 2026
Merged

max3584 merged 1 commit into
masterfrom
ci/cross-build-on-deps

Conversation

@max3584

@max3584 max3584 commented Sep 27, 2026

Copy link
Copy Markdown
Owner

arm64 / armhf / musl 向けのビルドはタグを打ったときだけ走っていたので、依存の更新でそれらだけが壊れても、リリースまで気づけませんでした。

変更

  • .github/workflows/cross.yml(新規):Cargo.toml(ほかに Cargo.lock・Cross.toml・release.yml・この workflow)を変える PR で、release.yml と同じターゲットを cross build --release でビルドする
    • 対象:x86_64-musl、armv7-gnueabihf、armv7-musleabihf、aarch64-gnu、aarch64-musl
    • x86_64-gnu は ci.yml で見ている
    • Renovate の依存の更新の PR でも走る。手動でも実行できる(workflow_dispatch)
  • ふつうの PR(コードだけの変更)では走らない(以前決めたとおり、PR でのリリースの試しビルドはしない)
  • CLAUDE.md に記載

この PR 自身が workflow を変えるので、ここで 5 つのターゲットのビルドを確かめられます。必須チェックには、この PR のマージ後に足すかどうかを決めます。

🤖 Generated with Claude Code

https://claude.ai/code/session_01UyWFKfK7QhjFLgRBF1V9Bu

arm64 / armhf / musl はタグを打ったときだけビルドしていたため、依存の更新で
それらだけが壊れても、リリースまで気づけなかった。Cargo.toml などを変える PR
(Renovate を含む)で、release.yml と同じターゲットを cross でビルドする。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UyWFKfK7QhjFLgRBF1V9Bu
@max3584 max3584 added this to the v0.3.4 milestone Sep 27, 2026
@max3584 max3584 added the area: ci GitHub Actions・リリース label Sep 27, 2026
@max3584
max3584 merged commit e7c92e6 into master Sep 27, 2026
14 checks passed
@max3584
max3584 deleted the ci/cross-build-on-deps branch September 27, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci GitHub Actions・リリース

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant