add --gpus all flag to linux docker command

This commit is contained in:
cloudymax 2023-09-22 15:42:10 +02:00
parent 1ee8776539
commit 3771485920
3 changed files with 1 additions and 0 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -59,6 +59,7 @@ class Docker {
return `docker run \
--workdir ${dockerWorkspacePath} \
--rm \
--gpus all \
${ImageEnvironmentFactory.getEnvVarString(parameters, additionalVariables)} \
--env UNITY_SERIAL \
--env GITHUB_WORKSPACE=${dockerWorkspacePath} \