-
Notifications
You must be signed in to change notification settings - Fork 211
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
Do not download cargo in CI #2173
Conversation
- switch deprecated actions-rs/toolchain, cf actions-rs/toolchain#216 - do not download cargo: it does not always work (e.g. macOS has several architectures but there is only one download), it is complex code, and we have a proper way to install it through CMake cf https://github.com/AOMediaCodec/libavif/blob/c21943e1e07ced29a22d1a59b0c4748e00b84c67/cmake/Modules/LocalRav1e.cmake#L49
toolchain: stable | ||
override: true | ||
- name: Set up rust | ||
uses: dtolnay/rust-toolchain@stable |
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.
uses: dtolnay/rust-toolchain@d8352f6b1d2e870bc5716e7a6d9b65c4cc244a1a
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.
Maybe take the last commit from the stable
branch so dtolnay/rust-toolchain@d388a48
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.
Usually people tag. stable
is a branch. But yes, it is safer. Done
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.
It is not possible to stick to a commit. Reverting the rust dependency. What really matters in this PR is the cargo install.
libavif/cmake/Modules/LocalRav1e.cmake
Line 49 in c21943e