Skip to content

Commit 10db4da

Browse files
committed
turn off SCCACHE_NO_CACHE [skip-vdc] [skip-docs] [skip-rapids]
1 parent 1f070e3 commit 10db4da

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.devcontainer/launch.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ launch_docker() {
106106
local -;
107107
set -euo pipefail
108108

109+
set -x
110+
109111
inline_vars() {
110112
cat - \
111113
`# inline local workspace folder` \

.github/actions/workflow-run-job-linux/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ runs:
8282
echo "[host] github.workspace: ${{github.workspace}}"
8383
echo "[container] GITHUB_WORKSPACE: ${GITHUB_WORKSPACE:-}"
8484
echo "[container] PWD: $(pwd)"
85-
echo "[container] user: $(whoami) ($(id -u):$(id -g))"
8685
8786
# Necessary because we're doing docker-outside-of-docker:
8887
# Make a symlink in the container that matches the host's ${{github.workspace}}, so that way `$(pwd)`
@@ -91,6 +90,8 @@ runs:
9190
ln -s "$(pwd)" "${{github.workspace}}"
9291
cd "${{github.workspace}}"
9392
93+
echo "[container] new PWD: $(pwd)"
94+
9495
cat <<"EOF" > ci.sh
9596
#! /usr/bin/env bash
9697
set -eo pipefail
@@ -174,7 +175,8 @@ runs:
174175
175176
extra_launch_args+=(
176177
--env "PARALLEL_LEVEL=$((CPUS * 4))"
177-
--env "SCCACHE_NO_CACHE=true"
178+
# --env "SCCACHE_RECACHE=1"
179+
# --env "SCCACHE_NO_CACHE=1"
178180
--env "SCCACHE_S3_KEY_PREFIX=cccl-sccache-dist-test"
179181
--volume "$(host_path "$RUNNER_TEMP")/.config:/root/.config:ro"
180182
--volume "$(host_path "$RUNNER_TEMP")/bin/sccache:/usr/bin/sccache:ro"
@@ -221,15 +223,13 @@ runs:
221223
222224
touch "$result_dir/success"
223225
224-
echo "repo: ${{github.workspace}}/${{github.event.repository.name}}"
225-
echo "pwd: $(pwd)"
226226
echo "dirs:"
227227
find . -mindepth 1 -maxdepth 1 -type d
228228
229229
# Finds a matching file in the repo directory and copies it to the results directory.
230230
find_and_copy() {
231231
filename="$1"
232-
filepath="$(find "${{github.workspace}}/${{github.event.repository.name}}" -name "${filename}" -print -quit)"
232+
filepath="$(find . -name "${filename}" -print -quit)"
233233
if [[ -z "$filepath" ]]; then
234234
echo "${filename} does not exist in repo directory."
235235
return 1

0 commit comments

Comments
 (0)