Add CarGearViewerKotlin automotive build workflow
This commit adds a new GitHub Actions workflow to build the CarGearViewerKotlin automotive app.
The workflow is triggered on:
-
workflow_dispatchevents - pushes to the
mainbranch - pull requests targeting the
mainbranch
The workflow performs the following steps:
- Checks out the code
- Sets up JDK 11 using Zulu distribution
- Sets up Gradle
- Sets up the Android SDK
- Builds the CarGearViewerKotlin automotive app using Gradle
[!NOTE] The files in this pull request are not supported by Gemini Code Assist.
Do we need a workflow for the projects under car_app_library as well?
@pflammertsma adding workflows for the other projects is a good idea. The project you mentioned are missing the gradlew, graldew.bat, and gradle/wrapper files, so I didn't include it in this batch update across the Android repositories. We could potentially merge this change now and add the other build files later. Let me know if you want to try and add these files, otherwise I might spend some time seeing if I can set it up myself.