2323 - { name: Windows 32, os: windows-latest, compiler: vs2019, arch: "32", cmakepp: "", flags: "-A Win32"}
2424 - { name: Windows 64, os: windows-latest, compiler: vs2019, arch: "64", cmakepp: "", flags: "-A x64"}
2525 - { 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"}
2727 build-type :
2828 - Release
2929 - Debug
3333
3434 steps :
3535 - name : Checkout code
36- uses : actions/checkout@v3
36+ uses : actions/checkout@v4
3737 with :
38+ fetch-depth : 2 # necessary for codecov bash uploader
3839 submodules : ' recursive'
3940
4041 - name : Setup Clang
@@ -44,14 +45,14 @@ jobs:
4445 - name : Setup Emscripten cache
4546 if : matrix.platform.compiler == 'em++'
4647 id : cache-system-libraries
47- uses : actions/cache@v3.3.1
48+ uses : actions/cache@v4
4849 with :
4950 path : ${{env.EM_CACHE_FOLDER}}
5051 key : ${{env.EM_VERSION}}-${{matrix.platform.name}}-${{matrix.build-type}}
5152
5253 - name : Setup Emscripten
5354 if : matrix.platform.compiler == 'em++'
54- uses : mymindstorm/setup-emsdk@v12
55+ uses : mymindstorm/setup-emsdk@v14
5556 with :
5657 version : ${{env.EM_VERSION}}
5758 actions-cache-folder : ${{env.EM_CACHE_FOLDER}}
0 commit comments