Skip to content

Build and Test

Build and Test #75

Workflow file for this run

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 }}