Add comprehensive Rust component installation to workflows
- Install clippy, rustfmt, rust-src, and rust-analysis components - Add additional system packages: pkg-config, build-essential - Follow the same pattern as original bootupd project - This should resolve all missing component errors in CI/CD - Components are installed after Rust toolchain is verified
This commit is contained in:
parent
ec795735cd
commit
2230baf2f8
2 changed files with 20 additions and 6 deletions
|
|
@ -59,10 +59,17 @@ jobs:
|
|||
fi
|
||||
|
||||
# Install additional build dependencies
|
||||
apt install -y libssl-dev libsystemd-dev file
|
||||
apt install -y libssl-dev libsystemd-dev file pkg-config build-essential
|
||||
|
||||
# Rust 1.89 includes all components by default (clippy, rustfmt, etc.)
|
||||
# No need to manually install components
|
||||
# Install required Rust components
|
||||
echo "Installing Rust components..."
|
||||
rustup component add clippy
|
||||
rustup component add rustfmt
|
||||
rustup component add rust-src # For better error messages
|
||||
rustup component add rust-analysis # For IDE support
|
||||
|
||||
echo "Available Rust components:"
|
||||
rustup component list --installed
|
||||
|
||||
- name: Checkout repository manually
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue