reduce artifact retention to 3 days and add CUDA_HOME env variable

This commit is contained in:
rob thijssen
2025-09-12 08:49:26 +03:00
parent 70485d3d91
commit 48e99f9db5
2 changed files with 2 additions and 1 deletions

View File

@@ -132,4 +132,4 @@ jobs:
name: ${{ format('quantus-miner-cuda-{0}-sm-{1}', steps.extract.outputs.short_tag, matrix.sm) }}
path: ${{ steps.extract.outputs.bin_path }}
if-no-files-found: error
retention-days: 14
retention-days: 3

View File

@@ -37,6 +37,7 @@ RUN apt-get update && \
# Install Rust (stable)
ENV RUSTUP_HOME=/opt/rustup \
CARGO_HOME=/opt/cargo \
CUDA_HOME=/usr/local/cuda \
PATH=/opt/cargo/bin:/usr/local/cuda/bin:${PATH}
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
| sh -s -- -y --profile minimal --default-toolchain stable && \