forked from PojavLauncherTeam/lwjgl3
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 957 Bytes
/
build-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
name: Android build
on: [push, workflow_dispatch]
jobs:
build:
strategy:
matrix:
arch: [ "arm64" ]
fail-fast: false
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
- name: Build for Android ${{matrix.arch}}
run: |
export JAVA8_HOME=$JAVA_HOME_8_${{runner.arch}}
export LWJGL_BUILD_ARCH=${{matrix.arch}}
bash ci_build_android.bash
- name: Upload modules release output
if: ${{matrix.arch == 'arm64'}} # Only upload this once
uses: actions/upload-artifact@v1
with:
name: lwjgl3-android-modules
path: bin/RELEASE
- name: Upload native build output
uses: actions/upload-artifact@v1
with:
name: lwjgl3-android-natives-${{matrix.arch}}
path: bin/out