Rewrite to use fragments for better view control #7
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: API 30 | |
on: | |
push: | |
paths: | |
- 'android/**' | |
- '.github/workflows/android-api-30.yml' | |
pull_request: | |
paths: | |
- 'android/**' | |
- '.github/workflows/android-api-30.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: True | |
- name: Enable KVM | |
run: | | |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | |
sudo udevadm control --reload-rules | |
sudo udevadm trigger --name-match=kvm | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
working-directory: android | |
- name: Accept Android SDK Licenses | |
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses | |
- name: Build with Gradle | |
run: ./gradlew :fuse:build | |
working-directory: android | |
- name: Run Tests | |
run: ./gradlew :fuse:api30DebugAndroidTest | |
working-directory: android |