Update README.md #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AML Mod Compiler | |
on: | |
push: | |
branches: [ "RUSJJ_CLEO_MOD" ] | |
pull_request: | |
branches: [ "RUSJJ_CLEO_MOD" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository... | |
uses: actions/checkout@v3 | |
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: Get SAUtils... | |
uses: wei/wget@v1 | |
with: | |
args: -O ./isautils.h https://github.com/AndroidModLoader/SAUtils/raw/main/isautils.h | |
- name: Install Android NDK (r24)... | |
uses: nttld/[email protected] | |
with: | |
ndk-version: r24 | |
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 -j4 | |
- name: Upload the mod! | |
uses: actions/upload-artifact@v3 | |
with: | |
name: compiled-mod.zip | |
path: ./libs |