Skip to content

Commit 2511c04

Browse files
author
Vincent Moens
committed
[CI] Change doc image
ghstack-source-id: eceab24 Pull Request resolved: #2632
1 parent e7062a1 commit 2511c04

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/docs.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,23 @@ jobs:
2828
with:
2929
repository: pytorch/rl
3030
upload-artifact: docs
31-
runner: "linux.g5.4xlarge.nvidia.gpu"
32-
docker-image: "nvidia/cudagl:11.4.0-base"
3331
timeout: 120
3432
script: |
3533
set -e
3634
set -v
37-
apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils
35+
# apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils
36+
yum makecache
37+
# yum install -y glfw glew mesa-libGL mesa-libGL-devel mesa-libOSMesa-devel egl-utils freeglut
38+
# Install Mesa and OpenGL Libraries:
39+
yum install -y glfw mesa-libGL mesa-libGL-devel egl-utils freeglut mesa-libGLU mesa-libEGL
40+
# Install DRI Drivers:
41+
yum install -y mesa-dri-drivers
42+
# Install Xvfb for Headless Environments:
43+
yum install -y xorg-x11-server-Xvfb
44+
# xhost +local:docker
45+
# Xvfb :1 -screen 0 1024x768x24 &
46+
# export DISPLAY=:1
47+
3848
root_dir="$(pwd)"
3949
conda_dir="${root_dir}/conda"
4050
env_dir="${root_dir}/env"
@@ -51,7 +61,7 @@ jobs:
5161
conda activate "${env_dir}"
5262
5363
# 2. upgrade pip, ninja and packaging
54-
apt-get install python3-pip unzip -y -f
64+
# apt-get install python3-pip unzip -y -f
5565
python3 -m pip install --upgrade pip
5666
python3 -m pip install setuptools ninja packaging cmake -U
5767

0 commit comments

Comments
 (0)