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

Travis: Re-enable Android builds #37729

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented Apr 9, 2020

Android support is back thanks to #36919 🎉

# - openjdk-8-jdk
- name: Android export template (release_debug, Clang)
stage: build
env: PLATFORM=android TOOLS=no TARGET=release_debug CACHE_NAME=${PLATFORM}-clang EXTRA_ARGS="werror=yes"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to remove warnings=extra as currently it raised warnings in the thirdparty vk_mem_alloc.h from the NDK.
It should be fixed to build in a separate env with disable_warnings() as done in drivers/vulkan/SCsub (cc @pouleyKetchoupp).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Android, we don't build Vulkan source like we do on other platforms, and the error occurs when vk_mem_alloc.h is included in our source.

I'm going to fix it by using GCC diagnostic ignored when needed.

@akien-mga akien-mga merged commit 74d4321 into godotengine:master Apr 9, 2020
@akien-mga akien-mga deleted the travis-reenable-android branch April 9, 2020 21:32
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