-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build-prepackageとbuild-distributableを統合する #1243
The head ref may contain hidden characters: "build-prepackage\u3068build-distributable\u3092\u7D71\u5408\u3059\u308B"
build-prepackageとbuild-distributableを統合する #1243
Conversation
# Rename executable file | ||
# NOTE: If the CPU/DirectML/GPU builds have the same package name, | ||
# the NSIS installers and the 7z files have duplicate names. | ||
# For Linux, If they have the same product name, | ||
# the AppImages have duplicate names. | ||
# Files with the same name cannot be uploaded to a single GitHub Release, | ||
# so different package/product names should be used for CPU/DirectML/GPU builds. | ||
- name: Replace package name & version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
消える箇所からコメントを転機。(このPRで消える別箇所に同じステップがある)
mv prepackage VOICEVOX | ||
tar cfz "${{ matrix.compressed_artifact_name }}-${{ env.VOICEVOX_EDITOR_VERSION }}.tar.gz" VOICEVOX/ | ||
name="${{ matrix.compressed_artifact_name }}-${{ env.VOICEVOX_EDITOR_VERSION }}" | ||
7z a -ttar $name.tar prepackage/ | ||
7z rn $name.tar prepackage/ VOICEVOX/ | ||
7z a -tgzip $name.tar.gz $name.tar | ||
rm $name.tar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
元はprepackageディレクトリをVOICEVOXディレクトリと改名してzip圧縮してるが、ここ以降でprepackageディレクトリが必要になるため、zip圧縮した後にzip内でディレクトリ名を改名するロジックに変更
@y-chan 催促すみません! 時間あるときに見ていただけると・・・!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
コンフリクト解消してテストも通ったのでたぶん大丈夫そう! |
内容
関連のPRです。
build.ymlのbuild-prepackageジョブとbuild-distributableジョブを統合し、1つのジョブにします。
実際にビルドしてみてwindowsのzip版が動くことを確認済みです。
https://github.com/Hiroshiba/voicevox/releases/tag/0.15.2-buildtest
関連 Issue
#837
スクリーンショット・動画など
その他
あとはreleaseアップロード周りを統一すればかなり早くなる&リファクタリングもしやすく鳴るはず!!