Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] ccache debugging #71911

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,23 @@ jobs:
# sure why this isn't figured out automatically.
export EM_CONFIG=$EMSDK/.emscripten
export CCACHE_COMPILERCHECK=string:3.1.51
export CCACHE_COMPILER=emcc
export CCACHE_DEBUG=2
export CCACHE_DEBUGDIR=$GITHUB_WORKSPACE/ccache-debug
ccache --zero-stats
ccache -M 5G
ccache --show-stats

./build-scripts/build-emscripten.sh

ls -R $CCACHE_DEBUGDIR

- name: Upload ccache debug
uses: actions/upload-artifact@v4
with:
name: ccache-debug
path: "ccache-debug/**/*"

- name: post-build ccache manipulation
run: |
emsdk activate ccache-git-emscripten-64bit
Expand Down
Loading