aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/android.yml
blob: fe4e757ef418a48a136ac497add9207274e428d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# GitHub Actions workflow to run tests on Android.
name: "Android"

on: [push, pull_request]

concurrency:
  group: "${{ github.workflow }}-${{ github.ref }}"
  cancel-in-progress: true

jobs:
  test:
    name: "Test ${{ matrix.name }}"
    runs-on: ubuntu-latest
    permissions:
      contents: read
    strategy:
      fail-fast: false
      matrix:
        include:
          - name: "Android 8-9"
            min-nal: 26
            max-nal: 28
          - name: "Android 10-11"
            min-nal: 29
            max-nal: 30
    steps:
      - name: "Checkout repository"
        uses: actions/checkout@v4

      - name: "Run CI script"
        run: ./scripts/test
        env:
          ARCH: "android"
          MIN_NAL: "${{ matrix.min-nal }}"
          MAX_NAL: "${{ matrix.max-nal }}"