mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-25 10:40:25 +01:00
10b9764fb3
Changes Emscripten SDK version to match that used to compile the default export templates used by Godot 3.5 (in this case 3.1.14 as can be seen here: https://github.com/godotengine/build-containers/blob/3.5/Dockerfile.javascript). This means we no longer need to compile custom export templates when exporting HTML5 for Godot 3.5. Exports from other Godot versions may requiring compiling the GDNative library with a different version of the Emscripten SDK. - Changes renderer from GLES3 -> GLES2 and reduces MSAA level to better support HTML5 export. - Updates GitHub Action to export HTML5 and upload as a build artifact. - Adds Cypress test to smoke test HTML5 export.
14 lines
243 B
Nix
14 lines
243 B
Nix
let
|
|
pkgs = import <nixpkgs> {};
|
|
in pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
cypress
|
|
nodejs-16_x
|
|
xsel
|
|
];
|
|
|
|
shellHook = ''
|
|
export CYPRESS_INSTALL_BINARY=0
|
|
export CYPRESS_RUN_BINARY=${pkgs.cypress}/bin/Cypress
|
|
'';
|
|
}
|