diff --git a/.github/workflows/android-api-28.yml b/.github/workflows/android-api-28.yml new file mode 100644 index 0000000..91a4ac3 --- /dev/null +++ b/.github/workflows/android-api-28.yml @@ -0,0 +1,40 @@ +name: API 28 + +on: + push: + paths: + - 'android/**' + - '.github/workflows/android-api-28.yml' + pull_request: + paths: + - 'android/**' + - '.github/workflows/android-api-28.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 + - name: Accept Android SDK Licenses + run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses + - name: Build with Gradle + run: ./gradlew :fuse:build + - name: Run Tests + run: ./gradlew :fuse:api28DebugAndroidTest diff --git a/.github/workflows/android-api-29.yml b/.github/workflows/android-api-29.yml new file mode 100644 index 0000000..ef7037c --- /dev/null +++ b/.github/workflows/android-api-29.yml @@ -0,0 +1,39 @@ +name: API 29 + +on: + push: + paths: + - 'android/**' + - '.github/workflows/android-api-29.yml' + pull_request: + paths: + - 'android/**' + - '.github/workflows/android-api-29.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 + - name: Accept Android SDK Licenses + run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses + - name: Build with Gradle + run: ./gradlew :fuse:build + - name: Run Tests + run: ./gradlew :fuse:api29DebugAndroidTest diff --git a/.github/workflows/android-api-30.yml b/.github/workflows/android-api-30.yml new file mode 100644 index 0000000..5b42b7d --- /dev/null +++ b/.github/workflows/android-api-30.yml @@ -0,0 +1,40 @@ +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 + - name: Accept Android SDK Licenses + run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses + - name: Build with Gradle + run: ./gradlew :fuse:build + - name: Run Tests + run: ./gradlew :fuse:api30DebugAndroidTest diff --git a/.github/workflows/android-api-31.yml b/.github/workflows/android-api-31.yml new file mode 100644 index 0000000..0462dec --- /dev/null +++ b/.github/workflows/android-api-31.yml @@ -0,0 +1,40 @@ +name: API 31 + +on: + push: + paths: + - 'android/**' + - '.github/workflows/android-api-31.yml' + pull_request: + paths: + - 'android/**' + - '.github/workflows/android-api-31.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 + - name: Accept Android SDK Licenses + run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses + - name: Build with Gradle + run: ./gradlew :fuse:build + - name: Run Tests + run: ./gradlew :fuse:api31DebugAndroidTest diff --git a/.github/workflows/android-api-32.yml b/.github/workflows/android-api-32.yml new file mode 100644 index 0000000..017a07c --- /dev/null +++ b/.github/workflows/android-api-32.yml @@ -0,0 +1,40 @@ +name: API 32 + +on: + push: + paths: + - 'android/**' + - '.github/workflows/android-api-32.yml' + pull_request: + paths: + - 'android/**' + - '.github/workflows/android-api-32.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 + - name: Accept Android SDK Licenses + run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses + - name: Build with Gradle + run: ./gradlew :fuse:build + - name: Run Tests + run: ./gradlew :fuse:api32DebugAndroidTest diff --git a/.github/workflows/android-api-33.yml b/.github/workflows/android-api-33.yml new file mode 100644 index 0000000..5682d17 --- /dev/null +++ b/.github/workflows/android-api-33.yml @@ -0,0 +1,40 @@ +name: API 33 + +on: + push: + paths: + - 'android/**' + - '.github/workflows/android-api-33.yml' + pull_request: + paths: + - 'android/**' + - '.github/workflows/android-api-33.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 + - name: Accept Android SDK Licenses + run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses + - name: Build with Gradle + run: ./gradlew :fuse:build + - name: Run Tests + run: ./gradlew :fuse:api33DebugAndroidTest diff --git a/.github/workflows/android-api-34.yml b/.github/workflows/android-api-34.yml new file mode 100644 index 0000000..3a0ef22 --- /dev/null +++ b/.github/workflows/android-api-34.yml @@ -0,0 +1,40 @@ +name: API 34 + +on: + push: + paths: + - 'android/**' + - '.github/workflows/android-api-34.yml' + pull_request: + paths: + - 'android/**' + - '.github/workflows/android-api-34.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 + - name: Accept Android SDK Licenses + run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses + - name: Build with Gradle + run: ./gradlew :fuse:build + - name: Run Tests + run: ./gradlew :fuse:api34DebugAndroidTest