feat: Adds support for client-side prerequisite events (#279) #137
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: Build and Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['main'] | |
paths-ignore: | |
- '**.md' # Do not need to run CI for markdown changes. | |
pull_request: | |
branches: [ 'main' ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
ci-build: | |
strategy: | |
matrix: | |
# TODO: Use full matrices | |
# android_api_level: ['21','25','30','34'] | |
# java_version: ['11', '17'] | |
android_api_level: ['25'] | |
java_version: ['17'] | |
runs-on: ubuntu-latest | |
steps: | |
# This enables hardware acceleration on large linux runners | |
- name: Enable KVM group perms | |
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 | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/ci | |
with: | |
android_api_level: ${{ matrix.android_api_level }} | |
java_version: ${{ matrix.java_version }} |