pmt: fix NDK issues [placeholder: initial]
This commit is contained in:
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@@ -39,6 +39,8 @@ jobs:
|
||||
echo "PMT_VERSION=${PMT_VERSION}" >> $GITHUB_ENV
|
||||
echo "PMT_VERSION_CODE=${PMT_VERSION_CODE}" >> $GITHUB_ENV
|
||||
echo "NDK_VERSION=${NDK_VERSION}" >> $GITHUB_ENV
|
||||
echo "NDK_LINK=${NDK_LINK}" >> $GITHUB_ENV
|
||||
echo "NDK_IS=${NDK_IS}" >> $GITHUB_ENV
|
||||
cd /home
|
||||
sudo git clone https://github.com/ShawkTeam/pmt -b ${PMT_VERSION}
|
||||
sudo chmod -R 777 pmt
|
||||
@@ -48,13 +50,14 @@ jobs:
|
||||
|
||||
- name: Setup Android NDK
|
||||
id: setup-ndk
|
||||
uses: nttld/setup-ndk@v1
|
||||
with:
|
||||
ndk-version: ${{ env.NDK_VERSION }}
|
||||
local-cache: false
|
||||
add-to-path: false
|
||||
env:
|
||||
ANDROID_NDK_HOME: ${{ env.NDK_DIR }}
|
||||
run: |
|
||||
echo "Downloading NDK ${{ env.NDK_VERSION }}..."
|
||||
aria2c "${{ env.NDK_LINK }}"
|
||||
echo "Extracting..."
|
||||
unzip -q *.zip && rm *.zip
|
||||
mv * "${{ env.NDK_IS }}"
|
||||
sudo chmod -R 777 *
|
||||
working-directory: ${{ env.NDK_IN_DIR }}
|
||||
|
||||
- name: Build pmt
|
||||
id: build-pmt
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export PMT_VERSION="2.8.0"
|
||||
export PMT_VERSION_CODE=280
|
||||
export NDK_VERSION="r27"
|
||||
export NDK_VERSION="r27"
|
||||
export NDK_IS="android-ndk"
|
||||
export NDK_LINK="https://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-linux.zip"
|
||||
BIN
jni/Debug.o
Executable file
BIN
jni/Debug.o
Executable file
Binary file not shown.
BIN
jni/GetState.o
Executable file
BIN
jni/GetState.o
Executable file
Binary file not shown.
BIN
jni/Help.o
Executable file
BIN
jni/Help.o
Executable file
Binary file not shown.
BIN
jni/LanguageTools.o
Executable file
BIN
jni/LanguageTools.o
Executable file
Binary file not shown.
BIN
jni/Languages.o
Executable file
BIN
jni/Languages.o
Executable file
Binary file not shown.
BIN
jni/ListPartitions.o
Executable file
BIN
jni/ListPartitions.o
Executable file
Binary file not shown.
BIN
jni/PartitionManager.o
Executable file
BIN
jni/PartitionManager.o
Executable file
Binary file not shown.
BIN
jni/PartitionTool.o
Executable file
BIN
jni/PartitionTool.o
Executable file
Binary file not shown.
BIN
jni/Root.o
Executable file
BIN
jni/Root.o
Executable file
Binary file not shown.
BIN
jni/Tools.o
Executable file
BIN
jni/Tools.o
Executable file
Binary file not shown.
BIN
jni/Version.o
Executable file
BIN
jni/Version.o
Executable file
Binary file not shown.
BIN
out/binary/pmt
Executable file
BIN
out/binary/pmt
Executable file
Binary file not shown.
BIN
out/package/pmt-20240910.xz
Executable file
BIN
out/package/pmt-20240910.xz
Executable file
Binary file not shown.
Reference in New Issue
Block a user