Skip to content

Commit

Permalink
sccache sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 8, 2024
1 parent 1e786c8 commit 85ba38b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
env:
ARCH_AND_OS: x86_64-unknown-linux-musl
SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
SCCACHE_LOG: debug

- name: Setup library dependencies
run: >
Expand All @@ -50,7 +51,7 @@ jobs:
cp test/config.json.github-ci-linux test/config.json
- name: Build C++ tests
run: bundle exec drake -j4 test:cxx:build
run: bundle exec drake -j4 test:cxx:build SCCACHE_LOG=debug

- name: Run C++ tests
run: >
Expand Down
2 changes: 1 addition & 1 deletion dev/ci/setup-sccache
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ done
## Start sccache server.

## Uncomment this to have the sccache server write debug logs to sccache.log
export SCCACHE_LOG=debug
# export SCCACHE_LOG=debug

touch sccache.log
echo "SCCACHE_ERROR_LOG=$(pwd)/sccache.log" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 85ba38b

Please sign in to comment.