From 4905f80f55d6158df1b1ca153da93b34c8d8930d Mon Sep 17 00:00:00 2001 From: tonklapitipat99-a11y Date: Sat, 2 May 2026 03:17:49 +0700 Subject: [PATCH 1/6] Create main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1 @@ + From a59d661aa01481c04c15e358c6eb362dbb88750a Mon Sep 17 00:00:00 2001 From: tonklapitipat99-a11y Date: Sat, 2 May 2026 03:19:16 +0700 Subject: [PATCH 2/6] Delete .github/workflows directory --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 8b13789..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1 +0,0 @@ - From da887fb1f3735603d022c7baf8190ee373046bf7 Mon Sep 17 00:00:00 2001 From: tonklapitipat99-a11y Date: Sat, 2 May 2026 03:19:54 +0700 Subject: [PATCH 3/6] Update main.c --- examples/RainbowHUD/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/RainbowHUD/main.c b/examples/RainbowHUD/main.c index 01c9904..69c3e56 100644 --- a/examples/RainbowHUD/main.c +++ b/examples/RainbowHUD/main.c @@ -5,7 +5,7 @@ #include #include - + #define LOG_TAG "GTA RainbowHUD" #define ALOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__) From 565df26cac7f41f1126464efbc1caf81683b39b5 Mon Sep 17 00:00:00 2001 From: tonklapitipat99-a11y Date: Sat, 2 May 2026 03:27:02 +0700 Subject: [PATCH 4/6] Create main.yml --- .github/workflows/main.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..560b0e1 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,37 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. + From 2b60d4032d900d0ebff695aa8d3079ff2595b608 Mon Sep 17 00:00:00 2001 From: tonklapitipat99-a11y Date: Sat, 2 May 2026 03:29:45 +0700 Subject: [PATCH 5/6] Update main.yml --- .github/workflows/main.yml | 54 ++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 560b0e1..f2fbf97 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,37 +1,45 @@ -# This is a basic workflow to help you get started with Actions +name: AML Mod Compiler -name: CI - -# Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the "main" branch push: branches: [ "main" ] pull_request: branches: [ "main" ] - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" build: - # The type of runner that the job will run on runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! + - name: Checkout repository... + uses: actions/checkout@v4 + with: + submodules: recursive - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. + - 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: compiled-mod.zip + path: ./libs From 220c65cec4797982110d5bb9fc2ea99b703a862e Mon Sep 17 00:00:00 2001 From: tonklapitipat99-a11y Date: Sat, 2 May 2026 03:32:23 +0700 Subject: [PATCH 6/6] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2fbf97..54e0335 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: AML Mod Compiler +name: ASILoader on: push: @@ -41,5 +41,5 @@ jobs: - name: Upload the mod! uses: actions/upload-artifact@v4 with: - name: compiled-mod.zip + name: ASILoader.zip path: ./libs