@@ -60,11 +60,27 @@ jobs:
6060 role-duration-seconds : 28800 # 8 hours
6161 role-to-assume : arn:aws:iam::279114543810:role/gha-oidc-NVIDIA
6262 - name : Build and test CPU schedulers
63+ env :
64+ NVCC_APPEND_FLAGS : " -t=100"
65+ SCCACHE_DIST_URL : " https://amd64.linux.sccache.rapids.nvidia.com"
66+ SCCACHE_DIST_CONNECT_TIMEOUT : " 30"
67+ SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE : " true"
68+ SCCACHE_DIST_KEEPALIVE_ENABLED : " true"
69+ SCCACHE_DIST_KEEPALIVE_INTERVAL : " 20"
70+ SCCACHE_DIST_KEEPALIVE_TIMEOUT : " 600"
71+ SCCACHE_DIST_MAX_RETRIES : " 2"
72+ SCCACHE_DIST_REWRITE_INCLUDES_ONLY : ${{ contains(matrix.tag, 'llvm') && 'true' || 'false' }}
73+ SCCACHE_DIST_REQUEST_TIMEOUT : " 7140"
74+ SCCACHE_IDLE_TIMEOUT : " 7200"
6375 run : |
6476 set -ex;
6577
6678 devcontainer-utils-install-sccache --repo rapidsai/sccache --version rapids;
67- devcontainer-utils-start-sccache;
79+ devcontainer-utils-init-sccache-dist \
80+ --enable-sccache-dist - <<< " \
81+ --auth-type 'token' \
82+ --auth-token '${{ secrets.STDEXEC_BUILD_CLUSTER_SECRET }}' \
83+ ";
6884
6985 # Copy source folder into ~/stdexec
7086 cp -r "${GITHUB_WORKSPACE}"/stdexec ~/;
@@ -81,13 +97,13 @@ jobs:
8197 ;
8298
8399 # Compile
84- cmake --build build -v -j 64 ;
100+ cmake --build build -v -j 512 ;
85101
86102 # Print sccache stats
87103 sccache -s;
88104
89105 # Tests
90- ctest --test-dir build --verbose --output-on-failure --timeout 60 ;
106+ ctest --test-dir build --verbose --output-on-failure --timeout 300 ;
91107 - if : ${{ !cancelled() }}
92108 name : Upload sccache logs
93109 uses : actions/upload-artifact@v4
0 commit comments