Provide a camera if there's none in the scene #1305
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android build | |
on: | |
pull_request: | |
# Cancel previous runs if a more recent commit is pushed. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
android-build: | |
name: Check Android build with gradle | |
runs-on: "ubuntu-20.04" | |
strategy: | |
fail-fast: true | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Setup Vulkan SDK | |
run: | | |
wget -q https://sdk.lunarg.com/sdk/download/1.3.268.0/linux/vulkansdk-linux-x86_64-1.3.268.0.tar.xz | |
if ! echo "d23343736247828ff5b3b6b1b7fd83a72b5df1a54b2527ae3663cebdfee75842 vulkansdk-linux-x86_64-1.3.268.0.tar.xz" | sha256sum -c --status; then | |
echo "Invalid SHA256 for VulkanSDK's binary. Aborting." | |
exit 1 | |
fi | |
mkdir "${HOME}/vulkan-sdk" | |
tar -xf vulkansdk-linux-x86_64-1.3.268.0.tar.xz -C "${HOME}/vulkan-sdk" | |
echo "VULKAN_SDK=${HOME}/vulkan-sdk/1.3.268.0/x86_64" >> $GITHUB_ENV | |
- name: Build all projects | |
run: | | |
./gradlew buildRelease |