diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index 170e1a7..0bb00a9 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -71,6 +71,15 @@ jobs: - name: Build OCR-D Manager run: docker compose build + - name: Install nvidia-container-runtime + run: | + curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | sudo apt-key add - + distribution=$(. /etc/os-release;echo $ID$VERSION_ID) + curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.list | sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list + sudo apt-get update + sudo apt-get install -y nvidia-container-toolkit + sudo systemctl restart docker + - name: Start OCR-D Controller run: docker compose --env-file=.env.ocrd-controller -f docker-compose-controller.yml up -d