Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: ASILoader

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Checkout repository...
uses: actions/checkout@v4
with:
submodules: recursive

- name: Download AndroidModLoader`s mod template...
uses: wei/wget@v1
with:
args: -O ./AML_src.zip https://github.com/RusJJ/AndroidModLoader/archive/refs/heads/main.zip

- name: Install AndroidModLoader`s mod template...
run: |
unzip ./AML_src.zip
mv ./AndroidModLoader-main/mod ./mod

- name: Install Android NDK (r25c)...
uses: nttld/setup-ndk@v1.2.0
with:
ndk-version: r25c
local-cache: true

- name: Build the code...
run: ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk NDK_DEBUG=0 -j12

- name: Build 64-bit the code...
run: ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application64.mk NDK_DEBUG=0 -j12

- name: Upload the mod!
uses: actions/upload-artifact@v4
with:
name: ASILoader.zip
path: ./libs
2 changes: 1 addition & 1 deletion examples/RainbowHUD/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <unistd.h>
#include <dlfcn.h>


#define LOG_TAG "GTA RainbowHUD"

#define ALOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__)
Expand Down