aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/android.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/android.yml')
-rw-r--r--.github/workflows/android.yml25
1 files changed, 15 insertions, 10 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 0f01e6b..bd02a3b 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -17,19 +17,24 @@ jobs:
17 fail-fast: false 17 fail-fast: false
18 matrix: 18 matrix:
19 include: 19 include:
20 - name: "Android 8-9" 20 - name: "Minimum API 26"
21 min-nal: 26 21 api-level: 26
22 max-nal: 28 22 - name: "Latest API"
23 - name: "Android 10-11" 23 api-level: latest
24 min-nal: 29
25 max-nal: 30
26 steps: 24 steps:
27 - name: "Checkout repository" 25 - name: "Checkout repository"
28 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 26 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
27 with:
28 persist-credentials: false
29
30 - name: "Install build dependencies"
31 run: |
32 sudo apt-get update
33 sudo apt-get install -y cmake ninja-build
29 34
30 - name: "Run CI script" 35 - name: "Run CI script"
31 run: ./scripts/test 36 run: |
37 ANDROID_NDK_HOME="$ANDROID_NDK_LATEST_HOME" ./scripts/test
32 env: 38 env:
33 ARCH: "android" 39 ARCH: "android"
34 MIN_NAL: "${{ matrix.min-nal }}" 40 ANDROID_API_LEVEL: "${{ matrix.api-level }}"
35 MAX_NAL: "${{ matrix.max-nal }}"