23
23
- { name: Windows 32, os: windows-latest, compiler: vs2019, arch: "32", cmakepp: "", flags: "-A Win32"}
24
24
- { name: Windows 64, os: windows-latest, compiler: vs2019, arch: "64", cmakepp: "", flags: "-A x64"}
25
25
- { name: MacOS, os: macos-latest, compiler: clang++, arch: "64", cmakepp: "", flags: ""}
26
- - { name: WebAssembly, os: ubuntu-latest, compiler: em++, arch: "32", cmakepp: "emcmake", flags: "-DCMAKE_CXX_FLAGS='-s DISABLE_EXCEPTION_CATCHING=0' -DCMAKE_CROSSCOMPILING_EMULATOR=node"}
26
+ - { name: WebAssembly, os: ubuntu-latest, compiler: em++, arch: "32", cmakepp: "emcmake", flags: "-DCMAKE_CXX_FLAGS='-s DISABLE_EXCEPTION_CATCHING=0' -DCMAKE_CXX_LINK_FLAGS='-s STACK_SIZE=5MB' - DCMAKE_CROSSCOMPILING_EMULATOR=node"}
27
27
build-type :
28
28
- Release
29
29
- Debug
33
33
34
34
steps :
35
35
- name : Checkout code
36
- uses : actions/checkout@v3
36
+ uses : actions/checkout@v4
37
37
with :
38
+ fetch-depth : 2 # necessary for codecov bash uploader
38
39
submodules : ' recursive'
39
40
40
41
- name : Setup Clang
@@ -44,14 +45,14 @@ jobs:
44
45
- name : Setup Emscripten cache
45
46
if : matrix.platform.compiler == 'em++'
46
47
id : cache-system-libraries
47
- uses : actions/cache@v3.3.1
48
+ uses : actions/cache@v4
48
49
with :
49
50
path : ${{env.EM_CACHE_FOLDER}}
50
51
key : ${{env.EM_VERSION}}-${{matrix.platform.name}}-${{matrix.build-type}}
51
52
52
53
- name : Setup Emscripten
53
54
if : matrix.platform.compiler == 'em++'
54
- uses : mymindstorm/setup-emsdk@v12
55
+ uses : mymindstorm/setup-emsdk@v14
55
56
with :
56
57
version : ${{env.EM_VERSION}}
57
58
actions-cache-folder : ${{env.EM_CACHE_FOLDER}}
0 commit comments