-
Notifications
You must be signed in to change notification settings - Fork 276
53 lines (46 loc) · 1.25 KB
/
android.yml
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
43
44
45
46
47
48
49
50
51
52
53
name: Cataclysm Android build
on:
pull_request:
branches:
- upload
paths-ignore:
- "build-data/osx/**"
- "doc/**"
- "doxygen_doc/**"
- "gfx/**"
- "lang/**"
- "lgtm/**"
- "msvc-object_creator/**"
- "object_creator/**"
- "tools/**"
- "!tools/format/**"
- "utilities/**"
- 'scripts/**'
# We only care about the latest revision of a PR, so cancel previous instances.
concurrency:
group: android-build-${{ github.event.pull_request.number || github.ref_name }}
cancel-in-progress: true
jobs:
build_catatclysm:
name: Build
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up JDK 11 (android)
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "adopt"
- name: Setup build and dependencies
run: |
sudo apt-get update
sudo apt-get install gettext
- name: Build
working-directory: ./android
run: |
chmod +x gradlew
./gradlew -Pj=$((`nproc`+0)) -Pabi_arm_32=false assembleExperimentalRelease