browsermt / bergamot-translator

Cross platform C++ library focusing on optimized machine translation on the consumer-grade device.
http://browser.mt
Mozilla Public License 2.0
327 stars 36 forks source link

Basic HTML property testing for WebAssembly #425

Closed jerinphilip closed 2 years ago

jerinphilip commented 2 years ago

Imports https://gist.github.com/jelmervdl/a4c8b6b92ad88a885e1cbd51c6ad4902 and attach it to CI. NodeJS-14 is failing on trying to use the WebAssembly binary. So we use node-16 independently setup. This paves way for more complicated testing for WebAssembly bindings in the future. It should be possible to remove minimal builds in favour of closer to WebAssembly tests following this change.

https://github.com/mozilla/firefox-translations/pull/353 phases out wormhole. This change removes the .js and .wasm with wormhole from the GitHub release done. (This does not edit Mozilla's CircleCI or files, nor attempt to remove WORMHOLE completely).

This also includes a fix for a .js and .wasm release broken in #424. GitHub CI code verified to work as intended at at fork (https://github.com/jerinphilip/bergamot-translator).

Related to: #421, #330