We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d656d9f commit fa3e662Copy full SHA for fa3e662
.github/workflows/build-playground.yml
@@ -24,7 +24,15 @@ jobs:
24
- name: Install dependencies
25
run: |
26
sudo apt-get update
27
- sudo apt-get install -y ninja-build cmake
+ sudo apt-get install -y ninja-build cmake ccache
28
+
29
+ - name: Setup ccache
30
+ uses: actions/cache@v4
31
+ with:
32
+ path: ~/.ccache
33
+ key: ccache-wasm-${{ github.sha }}
34
+ restore-keys: |
35
+ ccache-wasm-
36
37
- name: Configure WASM build (Null-Safe Clang)
38
@@ -44,6 +52,8 @@ jobs:
44
52
-DLLVM_ENABLE_TERMINFO=OFF \
45
53
-DLLVM_ENABLE_ZLIB=OFF \
46
54
-DLLVM_ENABLE_LIBXML2=OFF \
55
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
56
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
47
57
-DCMAKE_EXE_LINKER_FLAGS="-sEXPORTED_RUNTIME_METHODS=callMain -sEXIT_RUNTIME=0 -sALLOW_MEMORY_GROWTH=1" \
48
58
../llvm
49
59
0 commit comments