Skip to content

Commit 7417ca2

Browse files
committed
Fix WASM experimental release build failure
1 parent 6094c4e commit 7417ca2

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/emscripten.yml

Lines changed: 2 additions & 0 deletions
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

Lines changed: 8 additions & 2 deletions
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)