Modification of trzeci/emscripten-ubuntu with Firefox browser added.
1.3K
Modification of trzeci/emscripten-ubuntu with Firefox browser added which allows to build WebAssembly code and run it directly in the container with Firefox browser and Emrun.
Repo: https://gitlab.com/nnaumenko/wasm-ci
When compiling, include --emrun option for emcc, for example:
emcc --emrun -s WASM=1 -o mywasm.html mywasm.cpp
Then run the compiled WebAssembly program with:
emrun --browser firefox mywasm.html
Emrun will capture stdout and stderr, and return exit code equal to return value of the main(); this allows to use a single container to run automated tests, check for overall tests passing/failing, and identify failure point.
Repo contains a minimal example for Gitlab-CI.
Content type
Image
Digest
Size
504.2 MB
Last updated
over 7 years ago
docker pull nnaumenko/emscripten-firefox