Skip to content

Change install drive in build workflow#605

Merged
shirok merged 2 commits intoshirok:masterfrom
Hamayama:actions4
Feb 23, 2020
Merged

Change install drive in build workflow#605
shirok merged 2 commits intoshirok:masterfrom
Hamayama:actions4

Conversation

@Hamayama
Copy link
Copy Markdown
Contributor

どうも、GitHub Actions で、Windows の実行時に C ドライブに書き込むと、
ファイルが見つからないことがあるようです。
(例. https://github.com/shirok/Gauche/runs/462013061?check_suite_focus=true )

このため、Gauche のインストール先を、D ドライブに変更してみました。

これでも発生するようなら、また考えます。。。

<テスト結果>
https://github.com/Hamayama/Gauche/actions/runs/43729956

関連プルリクエスト #601 #603

@Hamayama
Copy link
Copy Markdown
Contributor Author

Hamayama commented Feb 23, 2020

<その他、参考情報等>
GitHub Actions には、MS の Azure の技術が使われているらしい。

Azure の VM の D ドライブは、temporary drive になっていて、
内容は保存されないが高速らしい。
https://docs.microsoft.com/en-us/archive/blogs/mast/understanding-the-temporary-drive-on-windows-azure-virtual-machines

ドライブの空き容量は、C が 130 GB で、D が 12 GB になっていた。
( fsutil volume diskfree c: で確認 )

現状、チェックアウトしたソースは、D ドライブに展開されている。

なぜ、C ドライブの書き込みが不安定なのかは、よく分からない。
(複数の run: 間の 同期がうまくとれていなくて、
書き込みが完了する前に 次の run: が実行されたりしているのかも。。。)

@shirok
Copy link
Copy Markdown
Owner

shirok commented Feb 23, 2020

PR604のfailはこのためですかね。頂いて様子見ます。

@shirok shirok merged commit 7b6c7ac into shirok:master Feb 23, 2020
@Hamayama Hamayama deleted the actions4 branch February 26, 2020 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants