diraq-sea / diraq_desktop

🎛 DiraQ desktop application
1 stars 0 forks source link

Update CircleCI workflows #104

Closed hi85gh closed 5 years ago

hi85gh commented 5 years ago

60 の対応で #102 で追加したビルド用のスクリプトを CircleCI で実行できるようにしました。

build ブランチの場合のみ packaging ワークフローを実行します。
* 反対に commit ワークフローは実行しません。

ディスクイメージファイル(拡張子 .dmg )は macOS でしかビルドできないようだったので、ビルド設定を "target": "zip" に変更しています。
あらためて確認しますが、 macOS 向けの署名付きビルドは macOS でしかできない可能性があります。

hi85gh commented 5 years ago

https://github.com/diraq-sea/diraq_desktop/issues/106#issuecomment-482001466

macOS 向けの署名付きビルドは macOS でしかできないようなので別の CI 環境を検討します。 一旦署名なしでできる部分を進めます。

hi85gh commented 5 years ago

Commit : https://github.com/diraq-sea/diraq_desktop/pull/104/commits/4d58ab019a9b65e92ab945eb4cb894bcbc069fcf

Squirrel.Windows という仕組みを利用して Windows でインストール時にスタートアップにアプリを追加できるようにしています。

hi85gh commented 5 years ago

108 CircleCI では yarn build --macos --windows とし Linux のビルドはしない設定にしています。

なお macOS から Windows の Squirrel.Windows 用のビルドをする場合は、オープンソースの「. NET Framework」互換環境である Mono が必要になります。