Fix CI: Use stable Rust version to avoid compiler crash
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 2m48s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 7s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 2m7s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 2m48s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 7s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 2m7s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
- Replace pre-installed Rust 1.89.0 (which has SIGSEGV bug) with rustup - Install and use Rust 1.75.0 (known stable version) - This should resolve the tracing-core compilation crash - Keep all other CI optimizations intact
This commit is contained in:
parent
7f90acaff9
commit
cf2758f9dc
1 changed files with 11 additions and 2 deletions
|
|
@ -71,9 +71,18 @@ jobs:
|
||||||
cp -r /tmp/apt-ostree/* .
|
cp -r /tmp/apt-ostree/* .
|
||||||
cp -r /tmp/apt-ostree/.* . 2>/dev/null || true
|
cp -r /tmp/apt-ostree/.* . 2>/dev/null || true
|
||||||
|
|
||||||
- name: Verify Rust installation
|
- name: Install Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
echo "Using pre-installed Rust from rust:slim-trixie:"
|
# Install rustup to get a stable Rust version
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
. ~/.cargo/env
|
||||||
|
|
||||||
|
# Use a more stable Rust version (1.75.0 is known to be very stable)
|
||||||
|
rustup install 1.75.0
|
||||||
|
rustup default 1.75.0
|
||||||
|
|
||||||
|
# Verify Rust version
|
||||||
|
echo "Using Rust version:"
|
||||||
rustc --version
|
rustc --version
|
||||||
cargo --version
|
cargo --version
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue