Repository navigation
ci: Windowsのテストと配布ビルドを自動化 - #8
Merged
Merged
Conversation
タグのバージョンをWindowsリソースへ埋め込めるようにする。通常のローカルビルドでは既存の設定値を保持し、不正な版番号やWindowsの上限を超える値を生成前に拒否する。
PRとmainで既存のテスト、実別ドライブ移動、型・書式検査とWindowsビルドを実行する。製品バージョンとSHA-256を検証した成果物を保存し、後続のリリース処理から同じ検証を再利用する。
Windowsランナーの標準LLVMにはllvm-cvtresが含まれていないため、必要なツールを含むLLVM-MinGWを固定バージョン・SHA-256で検証して導入する。
既存の.editorconfigはLFを要求するが、Windowsランナーのautocrlfで書式検査が失敗していた。Git属性でもテキストの改行をLFへ固定し、WindowsとWSLで同じ書式検査を使えるようにする。
usesは検証済みの同じ版タグで記述し、生成したactions.lockで実行コミットと参照元を固定する。CIにCLI v0.4.1のverifyを追加して、workflowとlockfileのずれを検出する。
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.
やったこと
やらないこと
動作確認 (方法、事前準備、確認したこと、動画などの資料)
方法:
事前準備:
確認したこと:
エビデンス:
その他 (レビュワーへの注意点など)