Add multiBackend Android flavor for runtime OpenGL/Vulkan switching (#4288)
This commit is contained in:
committed by
GitHub
parent
ccb9af119e
commit
b0388d186d
7
.github/workflows/android-release.yml
vendored
7
.github/workflows/android-release.yml
vendored
@@ -74,6 +74,7 @@ jobs:
|
||||
RENDERER:
|
||||
- vulkan
|
||||
- opengl
|
||||
- multiBackend
|
||||
BUILDTYPE:
|
||||
- Release
|
||||
- Debug
|
||||
@@ -133,8 +134,12 @@ jobs:
|
||||
if [ "$renderer" = "opengl" ]; then
|
||||
./gradlew :MapLibreAndroid:publishOpengl${{ env.buildtype }}PublicationToMavenCentralRepository
|
||||
./gradlew :MapLibreAndroid:publishDefault${{ env.buildtype }}PublicationToMavenCentralRepository
|
||||
else
|
||||
elif [ "$renderer" = "vulkan" ]; then
|
||||
./gradlew :MapLibreAndroid:publishVulkan${{ env.buildtype }}PublicationToMavenCentralRepository
|
||||
elif [ "$renderer" = "multiBackend" ]; then
|
||||
./gradlew :MapLibreAndroid:publishMultibackend${{ env.buildtype }}PublicationToMavenCentralRepository
|
||||
else
|
||||
echo "::error ::Unknown renderer '$renderer'"; exit 1
|
||||
fi
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
|
||||
|
||||
Reference in New Issue
Block a user