Support for tip-of-tree (tot) builds (#245)

emsdk install tot-upstream will install the very latest build from emscripten-releases. These builds are useful for emscripten github CI.

There isn't a latest or lkgr for emscripten-releases currently. What this does instead is get the git repo, and check if builds exist for the latest commits there, returning the latest of those.

This also makes us not update the emscripten-version.txt file if we are not an actual version. That is, for a tot build we leave that file unchanged in the emscripten checkout.

There is also a tot-fastcomp for fastcomp.
This commit is contained in:
Alon Zakai
2019-05-24 10:23:01 -07:00
committed by GitHub
parent 0ff164fc0c
commit e1c8f791a9
3 changed files with 90 additions and 5 deletions

View File

@@ -39,5 +39,15 @@ RUN cd /root/ \
&& /root/emsdk/emsdk activate latest-releases-fastcomp \
&& source /root/emsdk/emsdk_env.sh --build=Release \
&& emcc hello_world.cpp \
&& echo "test tot-upstream" \
&& /root/emsdk/emsdk install tot-upstream \
&& /root/emsdk/emsdk activate tot-upstream \
&& source /root/emsdk/emsdk_env.sh --build=Release \
&& emcc hello_world.cpp \
&& echo "test tot-fastcomp" \
&& /root/emsdk/emsdk install tot-fastcomp \
&& /root/emsdk/emsdk activate tot-fastcomp \
&& source /root/emsdk/emsdk_env.sh --build=Release \
&& emcc hello_world.cpp \
&& echo "test binaryen source build" \
&& /root/emsdk/emsdk install --build=Release binaryen-master-64bit