mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-20 18:56:17 +00:00
Emscripten 4.0.12 introduced breaking change by changing module factory to always return promise even if `WASM_ASYNC_COMPILATION=0`. To overcome this, build emscripten compiler without MODULARIZE with custom export of `createRevive`.
20 lines
451 B
YAML
20 lines
451 B
YAML
name: "Get Emscripten SDK"
|
|
inputs:
|
|
version:
|
|
description: ""
|
|
required: false
|
|
default: "5.0.0"
|
|
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: install emsdk
|
|
shell: bash
|
|
run: |
|
|
git clone https://github.com/emscripten-core/emsdk.git ./emsdk/
|
|
cd emsdk
|
|
git checkout tags/${{ inputs.version }}
|
|
./emsdk install ${{ inputs.version }}
|
|
./emsdk activate ${{ inputs.version }}
|