Skip to content

Commit 9501831

Browse files
committed
squash! ci : add ccache to build-wasm
Attempt to fix ccaching.
1 parent 386dd83 commit 9501831

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build-wasm.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ jobs:
5353
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
5454

5555
- name: Build
56+
env:
57+
CCACHE_SLOPPINESS: time_macros
5658
run: |
57-
emcmake cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }} \
59+
emcmake cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build }} \
5860
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
5961
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
60-
make
62+
cmake --build build -j $(nproc)

0 commit comments

Comments
 (0)