Skip to content

Commit 8839134

Browse files
authored
Fix WASM experimental release build failure (CleverRaven#71869)
1 parent b2bde86 commit 8839134

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/emscripten.yml

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
build_catatclysm:
3838
name: Build
3939
runs-on: ubuntu-latest
40+
env:
41+
CCACHE: 1
4042

4143
steps:
4244
- uses: actions/checkout@v4

build-scripts/build-emscripten.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
#!/bin/bash
22
set -exo pipefail
33

4+
CCACHE=${CCACHE:-0}
5+
46
emsdk install 3.1.51
5-
emsdk activate 3.1.51 ccache-git-emscripten-64bit
7+
emsdk activate 3.1.51
8+
if [ "$CCACHE" == "1" ]
9+
then
10+
emsdk activate ccache-git-emscripten-64bit
11+
fi
612

7-
make -j`nproc` NATIVE=emscripten BACKTRACE=0 TILES=1 TESTS=0 RUNTESTS=0 RELEASE=1 CCACHE=1 LINTJSON=0 cataclysm-tiles.js
13+
make -j`nproc` NATIVE=emscripten BACKTRACE=0 TILES=1 TESTS=0 RUNTESTS=0 RELEASE=1 CCACHE="$CCACHE" LINTJSON=0 cataclysm-tiles.js

0 commit comments

Comments
 (0)