Repository navigation
54 lines (45 loc) · 1.74 KB
/
Copy pathbuild-engine.yml
File metadata and controls
54 lines (45 loc) · 1.74 KB
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
54
name: Build vMeer Engine (Stable Cross-Compile)
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-engine:
# Menggunakan runner PC standar karena compiler NDK Google berbasis x86_64
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
# Menggunakan action resmi untuk setup SDK & NDK yang stabil di arsitektur x86_64
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Grant execute permission for gradlew
run: chmod +x gradlew
# Jalankan kompilasi modul engine
- name: Compile vMeer Engine Module
run: ./gradlew :vmeer-module:assembleRelease
# Upload file .AAR untuk AndroidIDE
- name: Upload AAR Artifact
if: success()
uses: actions/upload-artifact@v4
with:
name: vmeer-engine-modular
path: vmeer-module/build/outputs/aar/vmeer-module-release.aar
# ====================================================================
# PERBAIKAN DI SINI: Menyapu bersih seluruh pusaka .so dan biner daemon
# ====================================================================
- name: Upload Native Binaries (vmeerd & Seluruh Benda Pusaka .so)
if: success()
uses: actions/upload-artifact@v4
with:
name: vmeer-native-binaries-arm64
path: |
vmeer-module/build/intermediates/cxx/RelWithDebInfo/*/obj/arm64-v8a/vmeerd
vmeer-module/build/intermediates/cxx/RelWithDebInfo/*/obj/arm64-v8a/lib*.so
if-no-files-found: error