Skip to content
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

Download cargo-udeps from GitHub Actions #361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qryxip
Copy link
Contributor

@qryxip qryxip commented Dec 30, 2020

経緯:

https://github.com/online-judge-tools/verification-helper/pull/346/files#r527949830

cargo-udeps v0.16.0をリリースしたのでoj-verify-playgroundに空コミットしたところよくないことに...

毎日実行されていたactions-rs/tool-cacheのジョブが「60日間activity無し」によって20日ほど前に停止されていて、0.15.0を明示的に指定しない限り4分近くかかるようになってしまいました (しかもこの場合1.42でcargo-udepsをビルドしようとして失敗してる)。というかactions-rs/install共々issue/prが結構放置されているような...

https://github.com/qryxip/oj-verify-playground/runs/1432309559?check_suite_focus=true

インストール方法の代替を考えると

1. `cargo install` + [actions/cache](https://github.com/actions/cache)

2. 前のようにGitHub Actionsから`.tar.gz`を`wget`して`tar xf`
   の2つですがどっちにしても設定ファイルが膨らむ気がします。1.に至っては数時間試行錯誤してますがベストな方法がわからないです。

https://github.com/online-judge-tools/verification-helper/pull/346/files#r532332335

@kmyk actions-rs/installはunmaintainedだし、結局他に良い方法が思い浮かばなかったのでGitHub Releasesからダウンロードする方法に戻していいでしょうか。

(cargo installすると4分、--debug付きでも90秒ほどかかります。)

4分どころではなかったので...

https://github.com/online-judge-tools/verification-helper/actions

@qryxip qryxip force-pushed the download-cargo-udeps-from-github-actions branch from 9e1e519 to 745ee2b Compare December 30, 2020 09:33
@qryxip qryxip force-pushed the download-cargo-udeps-from-github-actions branch from 745ee2b to 3e810d0 Compare October 1, 2021 16:16
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.

None yet

1 participant