-
Notifications
You must be signed in to change notification settings - Fork 152
42 lines (35 loc) · 923 Bytes
/
build-android.yml
File metadata and controls
42 lines (35 loc) · 923 Bytes
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
36
37
38
39
40
41
42
name: Build Android
on:
workflow_call:
inputs:
runs-on:
required: true
type: string
js-engine:
required: true
type: string
env:
CMAKE_VERSION: '3.31.6'
NDK_VERSION: '28.2.13676358'
jobs:
build:
runs-on: ${{ inputs.runs-on }}
timeout-minutes: 45
steps:
- uses: actions/checkout@v5
- uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: ${{ env.CMAKE_VERSION }}
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '17'
- name: Build Playground ${{ inputs.js-engine }}
working-directory: Apps/Playground/Android
run: |
chmod +x gradlew
./gradlew assembleRelease \
-PJSEngine=${{ inputs.js-engine }} \
-PARM64Only \
-PNDK_VERSION=${{ env.NDK_VERSION }} \
-PSANITIZERS=OFF