Skip to content

Commit

Permalink
Printing docker enviroemntal variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Jan 25, 2024
1 parent 87ee7fc commit 8ccafe9
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/linux-gpu-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,12 @@ jobs:
docker run --rm onnxruntimegpubuild env
echo "Running docker image onnxruntimegpubuild"
docker run \
--gpus all \
--rm \
--volume $GITHUB_WORKSPACE:/onnxruntime_src \
--volume $RUNNER_TEMP:/build \
-w /build onnxruntimegpubuild bash \
-c "echo $PATH && /usr/bin/cmake \
-e CUDA_PATH=/usr/local/cuda-12.2 \
-G Ninja /onnxruntime_src -DBUILD_SHARED_LIBS=ON -DUSE_CUDA=ON -DCMAKE_BUILD_TYPE=Release && ninja"
--gpus all \
--rm \
--volume $GITHUB_WORKSPACE:/onnxruntime_src \
--volume $RUNNER_TEMP:/build \
-w /build onnxruntimegpubuild bash \
-c "echo $PATH && /usr/bin/cmake \
-e CUDA_PATH=/usr/local/cuda-12.2 \
-G Ninja /onnxruntime_src -DBUILD_SHARED_LIBS=ON -DUSE_CUDA=ON -DCMAKE_BUILD_TYPE=Release && ninja"

0 comments on commit 8ccafe9

Please sign in to comment.