diff --git a/.github/workflows/ci.gpu.yml b/.github/workflows/ci.gpu.yml index 3ab846ee6..7f35c0564 100644 --- a/.github/workflows/ci.gpu.yml +++ b/.github/workflows/ci.gpu.yml @@ -28,10 +28,13 @@ jobs: image: rapidsai/devcontainers:24.02-cpp-${{ matrix.tag }}-ubuntu22.04 env: CUDA_VERSION: "${{ matrix.cuda }}" - # SCCACHE_REGION: "us-east-2" - # SCCACHE_BUCKET: "rapids-sccache-devs" - # SCCACHE_S3_KEY_PREFIX: "nvidia-stdexec-dev" + SCCACHE_REGION: "us-east-2" + SCCACHE_BUCKET: "rapids-sccache-devs" + SCCACHE_S3_KEY_PREFIX: "nvidia-stdexec-dev" NVIDIA_VISIBLE_DEVICES: "${{ env.NVIDIA_VISIBLE_DEVICES }}" + permissions: + id-token: write # This is required for configure-aws-credentials + contents: read # This is required for actions/checkout defaults: run: shell: su -l -p -s /bin/bash coder {0} @@ -44,13 +47,13 @@ jobs: with: path: stdexec persist-credentials: false - # - if: github.repository_owner == 'NVIDIA' - # name: Get AWS credentials for sccache bucket - # uses: aws-actions/configure-aws-credentials@v2 - # with: - # aws-region: us-east-2 - # role-duration-seconds: 28800 # 8 hours - # role-to-assume: arn:aws:iam::279114543810:role/gha-oidc-NVIDIA + - if: github.repository_owner == 'NVIDIA' + name: Get AWS credentials for sccache bucket + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-region: us-east-2 + role-duration-seconds: 28800 # 8 hours + role-to-assume: arn:aws:iam::279114543810:role/gha-oidc-NVIDIA - name: Build and test GPU schedulers run: | set -ex;