diff --git a/.azure-pipelines/cuda-unit-test.yml b/.azure-pipelines/cuda-unit-test.yml index 155331499..be06491e8 100644 --- a/.azure-pipelines/cuda-unit-test.yml +++ b/.azure-pipelines/cuda-unit-test.yml @@ -12,13 +12,15 @@ pool: container: image: nvcr.io/nvidia/pytorch:24.03-py3 - options: '--name cuda-ci -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker:ro' + mapDockerSocket: true + options: '--name cuda-ci -v /usr/bin/docker:/usr/bin/docker:ro' steps: - script: | echo "##vso[task.prependpath]$HOME/.local/bin" displayName: Export path - script: | + set -e docker exec -t -u root -e DEBIAN_FRONTEND=noninteractive cuda-ci bash -c \ "apt-get update -y -q && \ yes '' | apt-get install -y -q sudo && \ diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0d3d26e81..7b371a1ee 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,7 +21,7 @@ jobs: run: misspell -error . cpp: name: CPP code lint - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Install clang-format-14 run: |