setup-emsdk
setup-emsdk copied to clipboard
Support for legacy fastcomp versions
Hi,
first of all thanks for this great action!
I need to maintain builds that run emscripten version 1.38.48-fastcomp. This action seems to always install the latest (3.1.30 as of now) and runs it to install older versions. Unfortunately this won't install fastcomp versions any longer:
/home/runner/work/_temp/.../emsdk-main/emsdk install 1.38.48-fastcomp
error: the fastcomp backend is no longer supported. Please use an older version of emsdk (for example 3.1.29) if you want to install the old fastcomp-based SDK
Is there a fix or way around it?
Thanks!
I ended up using numworks/setup-emscripten.
It seems to smartly choose emscripten version 3.1.29 instead of the latest one in case the desired version contains fastcomp. Maybe that's something this action could adopt.
steps:
- uses: numworks/setup-emscripten@v1
with:
sdk: latest-fastcomp
- run: emcc --version
Thanks