Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,7 @@ jobs:
rustup default "$channel"
rustup target add "${{ matrix.target }}"

# Our scripts use nextest if possible. This is skipped on the native ppc
# and s390x runners since install-action doesn't support them.
- uses: taiki-e/install-action@nextest
if: "!(matrix.os == 'ubuntu-24.04-ppc64le' || matrix.os == 'ubuntu-24.04-s390x')"
Comment on lines -135 to -138
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I said in taiki-e/install-action#1056 (comment), it is actually probably better to use cache-cargo-install-action on these platforms.

That said, considering that it is almost always necessary to do that on these platforms, using cache-cargo-install-action is definitely better than install-action in terms of performance. (Eventually, the two may be merged, but there is no concrete plan yet: taiki-e/install-action#66)

Copy link
Contributor

@tgross35 tgross35 Sep 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only on ppc/s390x or on all platforms? I'm happy to use either, just would prefer if the same one could be used for all platforms rather than using the special case.

I could have switched to cache-cargo-install-action here, but the scripts have a fallback to cargo test that worked fine.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cache-cargo-install-action is only efficient than install-action on platforms where pre-built binaries is not available, so if using only one of the two, install-action is better here (in this case, cache-cargo-install-action is only efficient for two jobs).


- uses: Swatinem/rust-cache@v2
with:
Expand Down
Loading