This repo is for automating the build of WebAssembly (WASM) native libraries for FNA, including:
- FNA3D.a - 3D graphics library for FNA.
- FAudio.a - XAudio reimplementation for FNA.
- SDL2.a - Simple DirectMedia Layer.
libtheorafile.a - Ogg Theora videos decoder library.(not yet implemented)
There is currently just one workflow:
- WASM Build (FNA).
This fork contains a few patches:
SDL2.patch
removes the calls toEM_JS_DEPS
forstringToUTF8
andUTF8ToString
as those are runtime functions in Emscripten 3.1.34 which is what .NET 8 uses.FNA3D.patch
adds-pthread
to theCFLAGS
so FNA3D is built with WASM threads support.
Go to the Actions tab and download the .zip artifact from the latest workflow run.
See for further details: https://gist.github.com/TheSpydog/e94c8c23c01615a5a3b2cc1a0857415c