Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI / GitHu bactions: Production built windows/linux #7

Open
Lecrapouille opened this issue Feb 27, 2022 · 1 comment
Open

CI / GitHu bactions: Production built windows/linux #7

Lecrapouille opened this issue Feb 27, 2022 · 1 comment

Comments

@Lecrapouille
Copy link
Contributor

From Godot editor Sconstruct:

    if env["production"]:
        if not env["tools"] and env["target"] == "debug":
            print(
                "WARNING: Requested `production` build with `tools=no target=debug`, "
                "this will give you a full debug template (use `target=release_debug` "
                "for an optimized template with debug features)."
            )
        if env.msvc:
            print(
                "WARNING: For `production` Windows builds, you should use MinGW with GCC "
                "or Clang instead of Visual Studio, as they can better optimize the "
                "GDScript VM in a very significant way. MSVC LTO also doesn't work "
                "reliably for our use case."
                "If you want to use MSVC nevertheless for production builds, set "
                "`debug_symbols=no use_lto=no` instead of the `production=yes` option."
            )
@Lecrapouille
Copy link
Contributor Author

With github action we do not compile using production and for windows that would mean to use https://github.com/marketplace/actions/install-mingw

@Lecrapouille Lecrapouille changed the title Production built windows CI / GitHu bactions: Production built windows/linux May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant