Browse Source

[CI] Upgrade Emscripten to 2.0.27.

Update Godot Javascript FS library to manually depend on ERRNO_CODES.
Fabio Alessandrelli 4 years ago
parent
commit
71fb2429a0

+ 1 - 1
.github/workflows/javascript_builds.yml

@@ -6,7 +6,7 @@ env:
   GODOT_BASE_BRANCH: master
   GODOT_BASE_BRANCH: master
   SCONSFLAGS: platform=javascript verbose=yes warnings=extra werror=yes debug_symbols=no --jobs=2
   SCONSFLAGS: platform=javascript verbose=yes warnings=extra werror=yes debug_symbols=no --jobs=2
   SCONS_CACHE_LIMIT: 4096
   SCONS_CACHE_LIMIT: 4096
-  EM_VERSION: 2.0.25
+  EM_VERSION: 2.0.27
   EM_CACHE_FOLDER: 'emsdk-cache'
   EM_CACHE_FOLDER: 'emsdk-cache'
 
 
 jobs:
 jobs:

+ 1 - 1
platform/javascript/js/libs/library_godot_os.js

@@ -106,7 +106,7 @@ autoAddDeps(GodotConfig, '$GodotConfig');
 mergeInto(LibraryManager.library, GodotConfig);
 mergeInto(LibraryManager.library, GodotConfig);
 
 
 const GodotFS = {
 const GodotFS = {
-	$GodotFS__deps: ['$FS', '$IDBFS', '$GodotRuntime'],
+	$GodotFS__deps: ['$ERRNO_CODES', '$FS', '$IDBFS', '$GodotRuntime'],
 	$GodotFS__postset: [
 	$GodotFS__postset: [
 		'Module["initFS"] = GodotFS.init;',
 		'Module["initFS"] = GodotFS.init;',
 		'Module["copyToFS"] = GodotFS.copy_to_fs;',
 		'Module["copyToFS"] = GodotFS.copy_to_fs;',