diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 10ea80c1dcd..77abee7d4fc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,13 +28,23 @@ jobs: with: repository: pytorch/rl upload-artifact: docs - runner: "linux.g5.4xlarge.nvidia.gpu" - docker-image: "nvidia/cudagl:11.4.0-base" timeout: 120 script: | set -e set -v - apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils + # apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils + yum makecache + # yum install -y glfw glew mesa-libGL mesa-libGL-devel mesa-libOSMesa-devel egl-utils freeglut + # Install Mesa and OpenGL Libraries: + yum install -y glfw mesa-libGL mesa-libGL-devel egl-utils freeglut mesa-libGLU mesa-libEGL + # Install DRI Drivers: + yum install -y mesa-dri-drivers + # Install Xvfb for Headless Environments: + yum install -y xorg-x11-server-Xvfb + # xhost +local:docker + # Xvfb :1 -screen 0 1024x768x24 & + # export DISPLAY=:1 + root_dir="$(pwd)" conda_dir="${root_dir}/conda" env_dir="${root_dir}/env" @@ -51,7 +61,7 @@ jobs: conda activate "${env_dir}" # 2. upgrade pip, ninja and packaging - apt-get install python3-pip unzip -y -f + # apt-get install python3-pip unzip -y -f python3 -m pip install --upgrade pip python3 -m pip install setuptools ninja packaging cmake -U