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

Create a .lgtm.yml file to enable lgtm to successfully build Godot. #41739

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

madmiraal
Copy link
Contributor

Since we've added the LGTM badge in #35958, it's worth making sure that it at least builds successfully. Currently, the C/C++ build is failing, because it's using Ubuntu 19.10, which has an old version of SCons that has the old shebang and therefore tries to run it with Python 2.7.

This PR creates a basic LGTM yaml file (.lgtm.yml) that installs the current version of SCons, which has the #! /usr/bin/python3 shebang, and then updates the path appropriately. This enables a C/C++ build using SCons to succeed; as tested here.

Note: The test says the C/C++ analysis failed. However, the stated reason for the failure is that it timed out during the analysis phase, not that the build failed during the extraction phase. Furthermore, the log shows that the analysis completed (8 minutes after it timed out); so this may be a bug on their end. The important point is that it now builds succesfully.

@madmiraal madmiraal added this to the 4.0 milestone Sep 3, 2020
@akien-mga akien-mga merged commit 4dd9150 into godotengine:master Sep 3, 2020
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants