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

Activate emscripten with no-embedded option. #39168

Merged
merged 1 commit into from
May 30, 2020

Conversation

madmiraal
Copy link
Contributor

Javascript's Travis CI is failing because javascript's can_build() is returning false:

def can_build():
return "EM_CONFIG" in os.environ or os.path.exists(os.path.expanduser("~/.emscripten"))

Emscripten is moving to an embedded config model:
emscripten-core/emscripten#9543
The activate option was changed to --embedded by default:
emscripten-core/emsdk#472
So this is a quick fix to mirror their own quick fix:
emscripten-core/emscripten#11293

Basically, we need to use --no-embedded until we can update our own check for a properly installed Emscripten.

@madmiraal madmiraal requested a review from Faless May 30, 2020 12:14
@akien-mga akien-mga added this to the 4.0 milestone May 30, 2020
@akien-mga akien-mga added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label May 30, 2020
@akien-mga akien-mga merged commit 240032a into godotengine:master May 30, 2020
@akien-mga
Copy link
Member

Thanks!

@madmiraal madmiraal deleted the fix-javascript-ci branch May 30, 2020 12:55
@akien-mga
Copy link
Member

Removing cherrypick:3.2 label as it seems we don't have javascript builds on Travis there.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jun 4, 2020
@akien-mga
Copy link
Member

This is no longer valid, latest emscripten removed the no-embedded option so CI builds are failing again.

CC @Faless

akien-mga added a commit to akien-mga/godot that referenced this pull request Jul 21, 2020
1.39.20 dropped support for the no-embedded mode we use since godotengine#39168,
as our detection logic hasn't been fixed yet to support the embedded
mode.
akien-mga added a commit to akien-mga/godot that referenced this pull request Jul 21, 2020
akien-mga added a commit to akien-mga/godot that referenced this pull request Jul 31, 2020
Emscripten is a fast-moving target which gets tons of improvements all the time,
but it's not rare that some regressions affect us and make our CI builds fail.
(See e.g. godotengine#33728, godotengine#35237, godotengine#39168, godotengine#40563, and godotengine#40914.)

Let's pin to a stable version to avoid having external factors impact our CI,
and update this version manually regularly in a PR to ensure that the new
version works well for us.
MarcusElg pushed a commit to MarcusElg/godot that referenced this pull request Oct 19, 2020
1.39.20 dropped support for the no-embedded mode we use since godotengine#39168,
as our detection logic hasn't been fixed yet to support the embedded
mode.
MarcusElg pushed a commit to MarcusElg/godot that referenced this pull request Oct 19, 2020
MarcusElg pushed a commit to MarcusElg/godot that referenced this pull request Oct 19, 2020
Emscripten is a fast-moving target which gets tons of improvements all the time,
but it's not rare that some regressions affect us and make our CI builds fail.
(See e.g. godotengine#33728, godotengine#35237, godotengine#39168, godotengine#40563, and godotengine#40914.)

Let's pin to a stable version to avoid having external factors impact our CI,
and update this version manually regularly in a PR to ensure that the new
version works well for us.
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