Skip to content

Commit 8a36ca0

Browse files
committed
consolidate envvars
1 parent 26239d2 commit 8a36ca0

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.github/workflows/ci.cpu.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ jobs:
2929
container:
3030
options: -u root
3131
image: rapidsai/devcontainers:26.02-cpp-${{ matrix.tag }}
32-
env:
33-
SCCACHE_BUCKET: "rapids-sccache-devs"
34-
SCCACHE_REGION: "us-east-2"
35-
SCCACHE_S3_KEY_PREFIX: "nvidia-stdexec-dev"
36-
SCCACHE_SERVER_PORT: "4225"
37-
SCCACHE_SERVER_LOG: "sccache=debug"
38-
SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE: "true"
39-
SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX: "nvidia-stdexec-dev/preprocessor"
4032
permissions:
4133
id-token: write # This is required for configure-aws-credentials
4234
contents: read # This is required for actions/checkout
@@ -65,10 +57,17 @@ jobs:
6557
env:
6658
ASAN_OPTIONS: alloc_dealloc_mismatch=0
6759
NVCC_APPEND_FLAGS: "-t=100"
68-
SCCACHE_DIST_URL: "https://amd64.linux.sccache.rapids.nvidia.com"
60+
SCCACHE_BUCKET: "rapids-sccache-devs"
6961
SCCACHE_DIST_REQUEST_TIMEOUT: "7140"
7062
SCCACHE_DIST_REWRITE_INCLUDES_ONLY: ${{ contains(matrix.tag, 'llvm') && 'true' || 'false' }}
63+
SCCACHE_DIST_URL: "https://amd64.linux.sccache.rapids.nvidia.com"
7164
SCCACHE_IDLE_TIMEOUT: "0"
65+
SCCACHE_REGION: "us-east-2"
66+
SCCACHE_S3_KEY_PREFIX: "nvidia-stdexec-dev"
67+
SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX: "nvidia-stdexec-dev/preprocessor"
68+
SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE: "true"
69+
SCCACHE_SERVER_LOG: "sccache=debug"
70+
SCCACHE_SERVER_PORT: "4225"
7271
run: |
7372
set -ex;
7473

.github/workflows/ci.gpu.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ jobs:
3232
image: rapidsai/devcontainers:26.02-cpp-${{ matrix.tag }}
3333
env:
3434
NVIDIA_VISIBLE_DEVICES: "${{ env.NVIDIA_VISIBLE_DEVICES }}"
35-
SCCACHE_BUCKET: "rapids-sccache-devs"
36-
SCCACHE_REGION: "us-east-2"
37-
SCCACHE_S3_KEY_PREFIX: "nvidia-stdexec-dev"
38-
SCCACHE_SERVER_PORT: "4225"
39-
SCCACHE_SERVER_LOG: "sccache=debug"
4035
permissions:
4136
id-token: write # This is required for configure-aws-credentials
4237
contents: read # This is required for actions/checkout
@@ -66,11 +61,17 @@ jobs:
6661
- name: Build and test GPU schedulers
6762
env:
6863
NVCC_APPEND_FLAGS: "-t=100"
69-
SCCACHE_DIST_URL: "https://${{ matrix.arch }}.linux.sccache.rapids.nvidia.com"
64+
SCCACHE_BUCKET: "rapids-sccache-devs"
7065
SCCACHE_DIST_REQUEST_TIMEOUT: "7140"
71-
SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE: "true"
72-
SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX: "nvidia-stdexec-dev/preprocessor"
66+
SCCACHE_DIST_REWRITE_INCLUDES_ONLY: ${{ contains(matrix.tag, 'llvm') && 'true' || 'false' }}
67+
SCCACHE_DIST_URL: "https://${{ matrix.arch }}.linux.sccache.rapids.nvidia.com"
7368
SCCACHE_IDLE_TIMEOUT: "0"
69+
SCCACHE_REGION: "us-east-2"
70+
SCCACHE_S3_KEY_PREFIX: "nvidia-stdexec-dev"
71+
SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX: "nvidia-stdexec-dev/preprocessor"
72+
SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE: "true"
73+
SCCACHE_SERVER_LOG: "sccache=debug"
74+
SCCACHE_SERVER_PORT: "4225"
7475
run: |
7576
set -e;
7677

0 commit comments

Comments
 (0)