CI test more and cache image (#92)

This commit is contained in:
Han
2025-08-15 22:53:12 +08:00
committed by GitHub
parent bf6d94f32a
commit 06d15a4a77
21 changed files with 401 additions and 361 deletions

View File

@@ -10,13 +10,13 @@ COPY scripts/sdk_installers/install_nexus_sdk.sh /tmp/install_nexus_sdk.sh
RUN chmod +x /tmp/install_nexus_sdk.sh
# Run the Nexus SDK installation script.
# This script installs the specific Rust toolchain (nightly-2025-06-05)
# This script installs the specific Rust toolchain (nightly-2025-04-06)
# and installs cargo-nexus
# The CARGO_HOME from ere-base (e.g., /root/.cargo) will be used, and cargo-nexus will be in its bin.
RUN /tmp/install_nexus_sdk.sh && rm /tmp/install_nexus_sdk.sh # Clean up the script
# Define the Nexus toolchain for convenience in subsequent commands if needed, though cargo pico should use it.
ENV NEXUS_TOOLCHAIN_VERSION="nightly-2025-06-05"
# Define the Nexus toolchain for convenience in subsequent commands if needed.
ENV NEXUS_TOOLCHAIN_VERSION="nightly-2025-04-06"
# Set default toolchain
RUN rustup default "$NEXUS_TOOLCHAIN_VERSION"