Reorganising build.gradle for CUDA 12
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s Details

Signed-off-by: brian <brian@brutex.de>
CUDA12
Brian Rosenberger 2023-09-01 13:24:30 +02:00
parent 50eb2915bc
commit 33d855303b
1 changed files with 4 additions and 4 deletions

View File

@ -25,18 +25,18 @@ jobs:
- name: Update initial docker image with apt-get - name: Update initial docker image with apt-get
run: | run: |
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget software-properties-common && \ apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y wget software-properties-common && \
wget https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin && \ wget https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin && \
mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \ mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/7fa2af80.pub && \ apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/7fa2af80.pub && \
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/ /" add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/ /" && \
apt-get -qq update && apt-get -qq upgrade -y && \
RUN apt-get update && apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-11-jdk \ DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-11-jdk \
build-essential checkinstall zlib1g-dev libssl-dev git libpthread-stubs0-dev \ build-essential checkinstall zlib1g-dev libssl-dev git libpthread-stubs0-dev \
libcudnn8=${cudnn_version}-1+${cuda_version} libcudnn8-dev=${cudnn_version}-1+${cuda_version} \ libcudnn8=${cudnn_version}-1+${cuda_version} libcudnn8-dev=${cudnn_version}-1+${cuda_version} \
cuda-drivers cuda-drivers
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v3 uses: actions/setup-java@v3
with: with: